summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-06-05 19:20:17 -0700
committerTom Cherry <tomcherry@google.com>2017-06-15 10:21:05 -0700
commit6f45ffc9613a5ce9413eabcd2ac359421de94cca (patch)
tree57810798c0a501f658833b4c09e5751fd50ec40f /base/errors_unix.cpp
parent058aab30b8e628f6ebffe64f6647b9d3b52552bf (diff)
init: move killing of process groups to libprocessgroup
libprocessgroup kills the cgroup associated with a given pid and uid, but not the POSIX process group associated with it. This means that to kill both, two of the same signals must be sent, which may cause some issues. This change kills all POSIX process groups whose group leaders are found within a cgroup. It only then kills processes in the cgroup that are not part of the POSIX process groups that have been killed. Bug: 37853905 Bug: 62418791 Test: Boot, kill zygote, reboot Change-Id: Id1d96935745899b4c454c36c351ec16a0b1d3827 (cherry picked from commit 70a5ed49ef82d0d87508080563ec10b994bf4f9e)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions