diff options
author | Andrei Vagin <avagin@google.com> | 2019-06-24 15:47:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-24 15:48:58 -0700 |
commit | c5486f512224dc0fda6b3509c1eb9f83dff950b4 (patch) | |
tree | 9d7fcbf752d60c43e2c9709ed22fd3845d2744e8 /pkg/sentry/control/logging.go | |
parent | 87df9aab246fc1e72362bafcf98e1a746fd94187 (diff) |
platform/ptrace: specify PTRACE_O_TRACEEXIT for stub-processes
The tracee is stopped early during process exit, when registers are still
available, allowing the tracer to see where the exit occurred, whereas the
normal exit notifi? cation is done after the process is finished exiting.
Without this option, dumpAndPanic fails to get registers.
PiperOrigin-RevId: 254852917
Diffstat (limited to 'pkg/sentry/control/logging.go')
0 files changed, 0 insertions, 0 deletions