aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Montemayor <oam@google.com>2009-12-02 16:43:52 -0800
committerOscar Montemayor <oam@google.com>2009-12-03 13:11:30 -0800
commit37c586e6b11138beab400d1208183d49c12a9ef2 (patch)
tree6e2bbb6329a184bd38403b212e762ae574d78b2f
parent3bfdcc979da0f857b014318f3df5d95a0f93eb27 (diff)
downloadsystem_core-37c586e6b11138beab400d1208183d49c12a9ef2.tar.gz
system_core-37c586e6b11138beab400d1208183d49c12a9ef2.tar.bz2
system_core-37c586e6b11138beab400d1208183d49c12a9ef2.zip
Encrypted File Systems Project.
Temporarily creating emulated encrypted directories manually. Will remove those lines once a true encrypted FS is mounted, and proper framework chanfes have been made. This is required for the feature to work with the other changes.
-rw-r--r--rootdir/init.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 808255ee..71a98825 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -116,6 +116,12 @@ loglevel 3
mkdir /data/app 0771 system system
mkdir /data/property 0700 root root
+ # STOPSHIP: Temporary Encrypted File Systems workaround
+ mkdir /data/secure 0771 system system
+ mkdir /data/secure/data 0771 system system
+ mkdir /data/secure/misc 01771 system misc
+ mkdir /data/securemisc/vpn 0770 system system
+ mkdir /data/secure/misc/vpn/profiles 0770 system system
# create dalvik-cache and double-check the perms
mkdir /data/dalvik-cache 0771 system system