summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-01-14 12:30:40 -0800
committerDoug Zongker <dougz@android.com>2014-01-16 08:54:59 -0800
commit7baebf1345ff9e861ea8ccf9712128a3b7cd9fcc (patch)
treec5a4fbdd1661a923de9988951744a2545cf0239a /include/private
parent475377b68a49197b14d8ff6553842b7f417d8161 (diff)
downloadsystem_core-7baebf1345ff9e861ea8ccf9712128a3b7cd9fcc.zip
system_core-7baebf1345ff9e861ea8ccf9712128a3b7cd9fcc.tar.gz
system_core-7baebf1345ff9e861ea8ccf9712128a3b7cd9fcc.tar.bz2
add the pre-recovery service
Add a service called "pre-recovery" which is normally stopped but can be started by the system server when we want to go into recovery. It will do any preparation needed (currently needed to handle update packages that reside on an encrypted /data partition) and then set sys.powerctl when it's ready to actually reboot. Bug: 12188746 Change-Id: I894a4cb200395a0f6d7fe643ed4c2ac0a45d2052
Diffstat (limited to 'include/private')
-rw-r--r--include/private/android_filesystem_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 53619ac..e3568ae 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -247,6 +247,7 @@ static const struct fs_path_config android_files[] = {
/* the following files have enhanced capabilities and ARE included in user builds. */
{ 00750, AID_ROOT, AID_SHELL, (1 << CAP_SETUID) | (1 << CAP_SETGID), "system/bin/run-as" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "system/bin/uncrypt" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/bin/*" },
{ 00755, AID_ROOT, AID_ROOT, 0, "system/lib/valgrind/*" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/xbin/*" },