Commit Graph

2 Commits

Author SHA1 Message Date
Keun-young Park e1adb869da add killProcessGroupOnce
- killProcessGroup retries if it fails while
  killProcessGroupOnce only tries once.
- useful for sending signal like SIGTERM once.

bug: 36696408
Test: will add usage to init

(cherry picked from commit a88e425e0f5502062c7f3088d53b1b0ce8ef803e)

Change-Id: Ie8eb338ee919b499948baf2a220e584b54293a89
2017-03-30 14:17:09 -07:00
Colin Cross cf8d1c22f7 Add libprocessgroup
libprocessgroup will allow Zygote to place processes
in a cgroup, and then kill the process and all forked processes
later.  lmkd will also kill all forked processes.

Bug: 15313911
Change-Id: I20404d0dbe448f1c475d2f4c61cccca462f9e544
2014-07-09 17:24:39 -07:00