forked from crdroidandroid/android_system_core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Tom Cherry
committed
Jun 7, 2017
1 parent
d105aa8
commit 70a5ed4
Showing
2 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters