summaryrefslogtreecommitdiffstats
path: root/init/property_service.h
Commit message (Collapse)AuthorAgeFilesLines
* init: verify size of property buffers passed to property_getColin Cross2013-06-171-1/+17
| | | | | | | Verify that the buffer passed as the value parameter to property_get is always big enough. Change-Id: Ie5b6fcd94bb908215cfd55d0c9b07f717ddb70b1
* init: switch property_get to use __system_property_getColin Cross2013-06-171-1/+2
| | | | Change-Id: I4fc0502a1a5b331087618a4d2e3d90948743d7bd
* Revert "init: make system properties more secure."Nick Kralevich2013-01-221-0/+1
| | | | | | This reverts commit 51e06618dbd87c4374c56d9193a5e567aa3d02ac. Bug: 8045561
* init: make system properties more secure.Nick Kralevich2013-01-181-1/+0
| | | | | | | | | | | | | | | Currently, system properties are passed via the environment variable ANDROID_PROPERTY_WORKSPACE and a file descriptor passed from parent to child. This is insecure for setuid executables, as the environment variable can be changed by the caller. Modify system property handling so that we get the properties from a root owned properties file, rather than using an environment variable. Related to bug: 8029617 Change-Id: I18610128e11c4037ed6f4dec6eba20f69fa647eb
* init: export all androidboot cmd line values as ro.boot.xx propsDima Zavin2012-01-051-1/+2
| | | | | | | | Also, clean up how we initialize the ro.xx properties and process the kernel command line. Change-Id: Iedda6c90e31340a189171a44b2767480403354f7 Signed-off-by: Dima Zavin <dima@android.com>
* init: do not load default.prop from ramdisk in charger modeDima Zavin2011-09-061-1/+3
| | | | | Change-Id: Ic471b891829d7f857674b925c9948954972d9ecb Signed-off-by: Dima Zavin <dima@android.com>
* Load the persistent properties after decrypting the /data partitionKen Sumrall2011-03-101-0/+1
| | | | | | | | | | | | 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
* init: Allow services to start before property triggers are upColin Cross2010-04-211-0/+1
| | | | Change-Id: I4f87657123bea88b7b5c537781868908d8d66b01
* init: Move property_set_fd to property_service.cColin Cross2010-04-131-3/+3
| | | | Change-Id: Ic7a19073eae8f353d48cabee80fa9722b35a82b5
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+28
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-28/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+28