Return to sandbox.c CVS log | Up to [local] / src / usr.bin / file |
version 1.1, 2015/04/27 13:52:17 | version 1.2, 2015/04/29 06:37:14 | ||
---|---|---|---|
|
|
||
return (sandbox_child(user)); | return (sandbox_child(user)); | ||
} | } | ||
do | do { | ||
pid = waitpid(pid, &status, WUNTRACED); | pid = waitpid(pid, &status, WUNTRACED); | ||
while (pid == -1 && errno == EINTR); | } while (pid == -1 && errno == EINTR); | ||
if (!WIFSTOPPED(status)) | if (!WIFSTOPPED(status)) | ||
errx(1, "child not stopped"); | errx(1, "child not stopped"); | ||