diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2017-06-27 13:49:27 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2017-06-27 13:51:46 -0700 |
commit | 683ebc805982a6dbffd94d8a631c75e66c239a67 (patch) | |
tree | 7c7ca65ed66caf0b7a261ce31a59ac160543edc9 /libcutils/socket_local_server_unix.cpp | |
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
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions