summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorrpcraig <rpcraig rpcraig@tycho.ncsc.mil>2014-01-07 22:24:22 -0500
committerrpcraig <rpcraig@tycho.ncsc.mil>2014-01-07 22:28:04 -0500
commit2dcbb81d89c86144b38c0f0b56ea7420c74a7f5a (patch)
treeb30f14f8d590a623184249ef8e3baa820fffa33e /rootdir
parentbc836220f3ae6afd5d6409e0c9dfaaafc1ce4afa (diff)
downloadsystem_core-2dcbb81d89c86144b38c0f0b56ea7420c74a7f5a.zip
system_core-2dcbb81d89c86144b38c0f0b56ea7420c74a7f5a.tar.gz
system_core-2dcbb81d89c86144b38c0f0b56ea7420c74a7f5a.tar.bz2
Label existing /data/mediadrm files.
Use restorecon_recursive to label devices where the directory and subfiles have already been built and labeled. Change-Id: I0dfe1e542fb153ad20adf7b2b1f1c087b4956a12 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1129206..95ca6af 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -257,6 +257,7 @@ on post-fs-data
# create directory for MediaDrm plug-ins - give drm the read/write access to
# the following directory.
mkdir /data/mediadrm 0770 mediadrm mediadrm
+ restorecon_recursive /data/mediadrm
# symlink to bugreport storage location
symlink /data/data/com.android.shell/files/bugreports /data/bugreports