Descriptionwaitpid() on the child process when changing namespaces
This allows upstart to wait for the process as if it was the same one called.
Otherwise, we lose the process id and upstart assumes everything is over.
"expect fork" does not handle this properly.
TEST=manual check: /sbin/minijail --namespace-vfs -- /bin/bash -c 'sleep 1'
BUG=none
Patch Set 1 #Patch Set 2 : propagate status; fix log msg #
Total comments: 2
Patch Set 3 : use waitpid status properly #Messages
Total messages: 5 (0 generated)
|