diff options
author | William Roberts <w.roberts@sta.samsung.com> | 2013-01-23 14:05:04 -0800 |
---|---|---|
committer | William Roberts <w.roberts@sta.samsung.com> | 2013-03-20 19:34:55 -0700 |
commit | 46e1bd89b457713bf91d2dc751795822cc202658 (patch) | |
tree | e37f67de4b6f35943c7633279a70acd56ff6fe27 /rootdir | |
parent | 55e1df471bb6e786c46a64d7ea99e224a6c46af2 (diff) | |
download | system_core-46e1bd89b457713bf91d2dc751795822cc202658.zip system_core-46e1bd89b457713bf91d2dc751795822cc202658.tar.gz system_core-46e1bd89b457713bf91d2dc751795822cc202658.tar.bz2 |
Create a new location for /data policy files
Adding a new location for policy files under
/data, the new location is /data/security. The
new location is used before attempting to use
any other location.
This requires a new directory to be created by
the init script and an update to the location of
the property_contexts file for property service.
Change-Id: I955a722ac3e51fa6c1b97201b8bdef3f601cf09d
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index d6182e8..72f351f 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -242,6 +242,9 @@ on post-fs-data # the following directory. mkdir /data/drm 0770 drm drm + # Separate location for storing security policy files on data + mkdir /data/security 0600 system system + # If there is no fs-post-data action in the init.<device>.rc file, you # must uncomment this line, otherwise encrypted filesystems # won't work. |