diff options
| author | Luis Hector Chavez <lhchavez@google.com> | 2017-06-29 09:50:30 -0700 |
|---|---|---|
| committer | Luis Hector Chavez <lhchavez@google.com> | 2017-06-29 14:41:23 -0700 |
| commit | 519e5f0592eb7ceb812f9e0e61b3bc2d9fc27c74 (patch) | |
| tree | 790963cc66096d91f4ec180a8e5b3edf564b16e8 /trusty/coverage/coverage.cpp | |
| parent | 51b4f48280bed76bdc8c1758ff6c77435989a33e (diff) | |
init: Reland "Terminate gracefully when CAP_SYS_BOOT is absent"
This change makes it possible for Android running in a container to
terminate cleanly instead of calling abort() when requested to shut
down.
Bug: 62388055
Test: `adb reboot` on bullhead causes no kernel panics
Test: `adb reboot` on a system without CAP_SYS_BOOT makes init terminate
nicely
Change-Id: I36b2298610f5b4a2bf8b05103d04804883df2c88
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
