summaryrefslogtreecommitdiffstats
path: root/init/keywords.h
Commit message (Collapse)AuthorAgeFilesLines
* Change setsebool syntax to be consistent with other init built-ins.Stephen Smalley2012-12-131-1/+1
| | | | | | | | | | Change setsebool syntax from name=value to name value. This is to make it consistent with setprop and similar commands. Update both the init built-in command and the toolbox command for consistency. Change-Id: I2c8e016ba26731c4a2ad4a49ae3b89362bf8f8a8 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* Change init to use libfs_mgr to mount filesystems.Ken Sumrall2012-04-301-0/+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
* Extend init and ueventd for SE Android.Stephen Smalley2012-02-011-0/+9
| | | | | | | | | | | | | | | 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
* init: Fix the init.rc import commandMike Lockwood2011-06-091-2/+1
| | | | | Change-Id: I8a91c3f7d1ca31e137d9043bb7f56e4a44fb63df Signed-off-by: Mike Lockwood <lockwood@android.com>
* Load the persistent properties after decrypting the /data partitionKen Sumrall2011-03-101-0/+2
| | | | | | | | | | | | Fix for bug 3415286. The persistent properties are normally read early in the boot process after /data is mounted. However, for an encrypted system, at that point /data is a tmpfs ramdisk. This change adds a new command to init (load_persist_props) to read the persistent properties, and adds an action to init.rc to load the persistent properties. This action is triggered by setting a property in vold, but that's in a different CL. Change-Id: I74b3057974ee6029c29d956b76fef5566700d471
* Add the commands rm and rmdir to init.Ken Sumrall2011-01-181-0/+4
| | | | | | | rm only removes a single non-directory directory entry (no -r support) rmdir removes a single empty directory Change-Id: I49702b02ba98a177027b126268c2c2846f968195
* Changes to init to support encrypted filesystems.Ken Sumrall2010-12-181-0/+2
| | | | | | | | | These are the changes to init and init.rc necessary to support booting with and encrypted /data filesystem. A corresponding change to init.<device>.rc goes along with this change. Change-Id: I0c7e2cc39568358014a82e317735c0eae14dd683
* Revert "Add "slow_start" keyword to init"Iliyan Malchev2010-12-081-1/+0
| | | | This reverts commit 50b3afd9f39619f69dc6f4efc29be88933eb3614.
* Add "slow_start" keyword to initPaul Eastham2010-12-041-0/+1
| | | | | | | This keyword will cause init to wait a few seconds before exec'ing the target binary. Maybe only useful for hacks and debugging. Change-Id: I85caa0bcbc0be7e48bd21eb9e31e039c0740c8d5
* init: Move uevent handling to an external ueventd processColin Cross2010-04-211-2/+0
| | | | Change-Id: Iea6c56013062ade633a1754f7bcf8cf09b3dedc1
* init: Add wait command and mount wait flagColin Cross2010-04-211-0/+2
| | | | Change-Id: I6b4c10f8f246095a7fb7342388ec4f6ff97d5733
* init: Add support for specifying a services i/o prioritySan Mehat2010-02-261-0/+1
| | | | Signed-off-by: San Mehat <san@google.com>
* merge from open-source masterJean-Baptiste Queru2009-09-011-0/+4
|\
| * added chdir/chroot commands to init for mount switching/pivotingJay Freeman (saurik)2009-08-271-0/+4
| |
* | init: builtins: Add 'copy' command to init.rc parserSan Mehat2009-08-261-0/+2
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+78
| |
* | auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-78/+0
|/
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+1
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+75