Return to sandbox.c CVS log | Up to [local] / src / usr.bin / file |
version 1.3, 2015/04/30 14:16:49 | version 1.4, 2015/04/30 14:30:53 | ||
---|---|---|---|
|
|
||
return (sandbox_child(user)); | return (sandbox_child(user)); | ||
} | } | ||
/* | |||
* Wait for the child to stop itself with SIGSTOP before assigning the | |||
* policy, before that it might still be calling syscalls the policy | |||
* would block. | |||
*/ | |||
do { | do { | ||
pid = waitpid(pid, &status, WUNTRACED); | pid = waitpid(pid, &status, WUNTRACED); | ||
} while (pid == -1 && errno == EINTR); | } while (pid == -1 && errno == EINTR); |