commit | 96109e6923f5208e4b01a93c955352c82decd20c | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Thu Jun 29 09:50:30 2017 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Thu Jun 29 14:41:23 2017 -0700 |
tree | 790963cc66096d91f4ec180a8e5b3edf564b16e8 | |
parent | c9aaef3683077c2029d3612c55adaad8e33aa0aa [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