aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-02-27 14:46:32 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-02-27 14:46:32 +0100
commit2fd478e0acd6a52144fe78f08995ef1e4ab78776 (patch)
tree4896a1232759313cbf88a129bd76b0ffbbea7062 /executor/common.h
parenta460a8a08280201c1f728c7939e0751cbb6b87cc (diff)
executor: support wrapping executor with an external sandbox process
If an external sandbox process wraps executor, the out pipe will be closed before the sandbox process exits this will make ipc package kill the sandbox. As the result sandbox process will exit with exit status 9 instead of the executor exit status (notably kRetryStatus). Consequently, ipc will treat it as hard failure rather than a temporal failure. So we duplicate the exit status on the pipe.
Diffstat (limited to 'executor/common.h')
0 files changed, 0 insertions, 0 deletions