summaryrefslogtreecommitdiffstats
path: root/init/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* fs_mgr: Capture the output of e2fsck and add to the kernel logKen Sumrall2013-04-141-0/+2
| | | | | | | | | | | | | | | | Currently, the output of e2fsck is not saved, and we have no insight into how many errors e2fsck is finding and fixing. Using the new abbreviated logging feature in liblogwrap, up to the first 100 lines, and last 4K bytes of the output of e2fsck is captured by fs_mgr, and added to the kernel log. Usually, the filesystem will be clean, and this will only add a few lines to the kernel log on boot, but when things go wrong, it should save enough to indicate what the problem is, without potentially filling the kernel log with only e2fsck output if the filesystem is really corrupted. Change-Id: I9c264798e6fe721c8f818b5ce15d0975027ddbdd
* am 7b88a90d: Merge "Remove HAVE_SELINUX guards"Kenny Root2012-10-171-7/+5
|\ | | | | | | | | * commit '7b88a90da2a27e347fc16c14fa577f4ae1ef07fd': Remove HAVE_SELINUX guards
| * Remove HAVE_SELINUX guardsKenny Root2012-10-161-7/+5
| | | | | | | | Change-Id: I8272c573b3c5dc663203bafab68fad5e94d89364
| * Change init to use libfs_mgr to mount filesystems.Ken Sumrall2012-05-011-2/+2
| | | | | | | | | | | | | | | | The new fs_mgr library moves much of the knowledge of what filesystems to mount into a new fstab.<device> file, and just calls one function to mount all the filesystems. Change-Id: If3db37530a0676000cba3e679db27aca734227e5
* | Add watchdogdArve Hjønnevåg2012-06-141-3/+7
| | | | | | | | | | | | | | | | "/sbin/watchdogd <interval> <margin>" will open /dev/watchdog, try to set the timeout to <interval>+<margin> then write to it every <interval> seconds to reset the watchdog. Change-Id: I15571980cdb868ec19f20e80bf8274b32107d36d
* | Change init to use libfs_mgr to mount filesystems.Ken Sumrall2012-04-301-2/+2
|/ | | | | | | | The new fs_mgr library moves much of the knowledge of what filesystems to mount into a new fstab.<device> file, and just calls one function to mount all the filesystems. Change-Id: If3db37530a0676000cba3e679db27aca734227e5
* am 3b04bde9: am ee79b455: am 93553073: Merge "Extend init and ueventd for SE ↵Jean-Baptiste Queru2012-02-241-0/+6
|\ | | | | | | | | | | | | Android." * commit '3b04bde991d57765a830e06c6f5bb094722583bd': Extend init and ueventd for SE Android.
| * Extend init and ueventd for SE Android.Stephen Smalley2012-02-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SE Android support for init and ueventd. init: - Load policy at boot. - Set the security context for service daemons and their sockets. - New built-in commands: setcon, setenforce, restorecon, setsebool. - New option for services: seclabel. ueventd: - Set the security context for device directories and nodes. Change-Id: I98ed752cde503c94d99dfa5b5a47e3c33db16aac
* | Don't read /data/local.prop on user buildsNick Kralevich2012-01-181-0/+4
|/ | | | | | | | | Creating a root owned /data/local.prop is one of the most common ways to root an Android device. /data/local.prop is only intended to assist developers on debuggable devices, and is never intended to be used on production devices. Change-Id: Ifcfa21c2ee9914b0b54445218b4cf0fea0a98e9c
* init: Use a relative symlink for ueventd to initColin Cross2010-04-221-2/+2
| | | | | | | | | make doesn't seem to handle the absolute symlink from $OUT/root/sbin/ueventd to /init well - it follows the link during dependency resolution, decides $OUT/root/sbin/ueventd doesn't exist because /init doesn't exist, and relinks it every time. Change-Id: I9ca1c14fe5fa80634f51ffc51a7c73146d29d42e
* init: Add ueventd.rc parsing to ueventdColin Cross2010-04-211-1/+2
| | | | Change-Id: Iea53050d6c10e8cabf563e5d80e84eaf78873695
* init: Move uevent handling to an external ueventd processColin Cross2010-04-211-5/+17
| | | | Change-Id: Iea6c56013062ade633a1754f7bcf8cf09b3dedc1
* init: Split parser into generic parser and init parserColin Cross2010-04-211-1/+2
| | | | Change-Id: I451ebc4ff12f2ac660eb533fa10ad561fa25c9dd
* init: Move signal handling to signal_handler.cColin Cross2010-04-131-1/+2
| | | | Change-Id: I3a24afa28a1cd279c749d6f384f687b8de56067e
* init: Move keychords to keychords.cColin Cross2010-04-131-1/+2
| | | | Change-Id: I8fba9f5f73439a451fc961f8111612dff4fb5dfd
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+33
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-33/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+33