diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-10-24 10:41:34 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-24 10:42:35 -0700 |
commit | 4a1a2dead9b382b4315eddbd06ddb1c83f1ccf5e (patch) | |
tree | 80bac57b32b472e99e18d87757b316121f3ff854 /runsc/test/install.sh | |
parent | 46603b569c3ab20f45cf1b651d1fd3d2dda33243 (diff) |
Run ptrace stubs in their own session and process group.
Pseudoterminal job control signals are meant to be received and handled by the
sandbox process, but if the ptrace stubs are running in the same process group,
they will receive the signals as well and inject then into the sentry kernel.
This can result in duplicate signals being delivered (often to the wrong
process), or a sentry panic if the ptrace stub is inactive.
This CL makes the ptrace stub run in a new session.
PiperOrigin-RevId: 218536851
Change-Id: Ie593c5687439bbfbf690ada3b2197ea71ed60a0e
Diffstat (limited to 'runsc/test/install.sh')
0 files changed, 0 insertions, 0 deletions