diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-06-12 21:40:42 -0700 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-06-30 08:11:23 +0000 |
commit | 4e2f4670362d2ab8eed55be0cf699b24d658c3e6 (patch) | |
tree | bf2c504166617539e57dfa6f0a921d6b064cfa39 /configure.pri | |
parent | ae28fbd8ccfee304f40c8a79dc6b51b01094a0bc (diff) |
forkfd: remove FFD_VFORK_SEMANTICS
This will never work, not unless libc implements it
themselves, since the child process is not allowed to return
from the function that does the vfork(), as subsequent use
of the stack would trash the frozen parent's return address,
and in our case that's syscall(). Instead, we may add a
vforkfd() function that takes a callback function that will
be called in that context, like the glibc clone(3) wrapper
does.
Pick-to: 5.15
Change-Id: I1dba29bc0f454df09ca1fffd161800b453c00593
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'configure.pri')
0 files changed, 0 insertions, 0 deletions