gvisor/test/root
Fabricio Voznika f2e4b5ab93 Kill sandbox process when parent process terminates
When the sandbox runs in attached more, e.g. runsc do, runsc run, the
sandbox lifetime is controlled by the parent process. This wasn't working
in all cases because PR_GET_PDEATHSIG doesn't propagate through execve
when the process changes uid/gid. So it was getting dropped when the
sandbox execve's to change to user nobody.

PiperOrigin-RevId: 300601247
2020-03-12 12:32:26 -07:00
..
testdata Update visibility. 2020-02-10 11:30:21 -08:00
BUILD Kill sandbox process when parent process terminates 2020-03-12 12:32:26 -07:00
cgroup_test.go test/root: check that memory accouting works as expected 2019-11-05 17:03:41 -08:00
chroot_test.go Ignore the root container when calculating oom_score_adj for the sandbox. 2019-09-05 19:21:25 -07:00
crictl_test.go Add tests for $HOME 2019-10-07 15:55:39 -07:00
main_test.go Bring back to life features lost in recent refactor 2019-09-16 08:17:00 -07:00
oom_score_adj_test.go Fix early deletion of rootDir 2019-10-24 16:36:54 -07:00
root.go Ignore the root container when calculating oom_score_adj for the sandbox. 2019-09-05 19:21:25 -07:00
runsc_test.go Kill sandbox process when parent process terminates 2020-03-12 12:32:26 -07:00