commit | 683ebc805982a6dbffd94d8a631c75e66c239a67 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Tue Jun 27 13:49:27 2017 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Tue Jun 27 13:51:46 2017 -0700 |
tree | 7c7ca65ed66caf0b7a261ce31a59ac160543edc9 | |
parent | 449bfd7a9347e0c61743162c0fdb445a59e88d6b [diff] |
init: 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: setprop sys.powerctl reboot makes init terminate nicely Change-Id: I31c7b475d89d7cbd665e135d9b8951dfd4bca80d