summaryrefslogtreecommitdiffstats
path: root/init/property_service.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-03-08 17:01:29 -0800
committerKen Sumrall <ksumrall@android.com>2011-03-10 18:12:19 -0800
commitc5c51033c86353d1a448c72e0e9388906eed7114 (patch)
treee3cfece05089e88601bae6fb496c77b691338ae6 /init/property_service.h
parente3aeeb4de34dbb93e832e6554f494122ba633f3b (diff)
downloadsystem_core-c5c51033c86353d1a448c72e0e9388906eed7114.zip
system_core-c5c51033c86353d1a448c72e0e9388906eed7114.tar.gz
system_core-c5c51033c86353d1a448c72e0e9388906eed7114.tar.bz2
Load the persistent properties after decrypting the /data partition
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
Diffstat (limited to 'init/property_service.h')
-rw-r--r--init/property_service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/property_service.h b/init/property_service.h
index 045d20a..bc97cc4 100644
--- a/init/property_service.h
+++ b/init/property_service.h
@@ -19,6 +19,7 @@
extern void handle_property_set_fd(void);
extern void property_init(void);
+extern void load_persist_props(void);
extern void start_property_service(void);
void get_property_workspace(int *fd, int *sz);
extern const char* property_get(const char *name);