Commit Graph

4 Commits

Author SHA1 Message Date
Roy Marples
11a06bb9b1 If there are no file actions or dangerous attributes then use
vfork(2) instead of fork(2) in our compat posix_spawn(3) function.
2014-02-21 15:51:42 +00:00
Roy Marples
cee38642fd Style 2013-06-03 21:30:43 +00:00
Roy Marples
147de67160 Fix compile of the new compat shims on NetBSD. 2012-11-10 16:53:00 +00:00
Roy Marples
5c08c0c4ca Replace poll(2) with pselect(2) and vfork(2)+execve(2) with
posix_spawn(3).
Now we block all our signals at startup and allow pselect to
unblock them for the duration of the call. This allows us to
manage interrupts in a fashion to guarantee a consistent
internal state.

I have added a posix_spawn compat shim for systems that lack
that call. pselect(2) has been supported on target for some time
so there is no need for a compat shim there.
2012-11-10 16:38:52 +00:00