platform_system_core/include
Nick Kralevich ca8e66a8b0 Make init handle reboots
Move the responsibility for rebooting the system from the
reboot command to init. Init is in a better position to take
actions to bring the system down cleanly, including making sure
filesystems are mounted read-only.

The only UIDs which can perform an init triggered reboot are
root, system, and shell.

Modify the reboot command so that it calls into init to perform
the reboot. The reboot command no longer requires CAP_SYS_BOOT.

Remove the -n reboot option and code which supports it.  Anyone needing
to do an unclean shutdown can just do a 'echo c > /proc/sysrq-trigger'.

Modify adb so that it calls into init to perform a shutdown.

Bug: 8646621
Change-Id: I84c0513acb549720cb0e8c9fcbda0050f5c396f5
2013-04-23 13:21:40 -07:00
..
android Remove libjnigraphics. moved to frameworks/base/native 2010-02-04 15:32:07 -08:00
corkscrew Include page protections in the debuggerd map output. 2013-01-03 13:39:57 -08:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Make init handle reboots 2013-04-23 13:21:40 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
ion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
mincrypt mincrypt: support SHA-256 hash algorithm 2013-04-10 14:33:31 -07:00
netutils Support 4 dns servers, up from 2 2013-01-10 11:36:09 -08:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private Make init handle reboots 2013-04-23 13:21:40 -07:00
sync sync: factor sw_sync functionality out of header 2013-03-05 15:53:24 -08:00
system graphics: add Android flexible YCbCr format 2013-04-09 15:09:35 -07:00
sysutils libsysutils: Increase command buffersize and command args 2012-11-12 14:40:21 +01:00
usbhost libusbhost: permits client polling on inotify wd 2012-12-10 11:12:35 +01:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00