summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorKeun Soo Yim <yim@google.com>2016-03-01 12:45:27 -0800
committerKeun Soo Yim <yim@google.com>2016-03-01 22:44:59 +0000
commitbe54c543bd6e76d8b505028cf64233e1a9213776 (patch)
tree251cc1db0b5dc0102d00087bc4b1d757f3d2bc06 /rootdir/init.rc
parent99fb01e42a184fa8a206c84be12b7e34cc2947bb (diff)
mkdir /data/misc/cameraserver for AVD's camera HALs
cameraserver from nyc uses cameraserver as its username. thus this change is needed for AVD (android virtual device)'s camera HAL which is attached to cameraserver to work as that HAL writes some files to /data/misc/media. the backward compatibility issue should be handled as separate changes. this approach is preferred for finer-grained security isolation. Change-Id: If028667d62df8fcac634ff1001759c39703b00dd
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 3428417f6..b26e6fc1b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -360,6 +360,7 @@ on post-fs-data
mkdir /data/local 0751 root root
mkdir /data/misc/media 0700 media media
mkdir /data/misc/audioserver 0700 audioserver audioserver
+ mkdir /data/misc/cameraserver 0700 cameraserver cameraserver
mkdir /data/misc/vold 0700 root root
mkdir /data/misc/boottrace 0771 system shell
mkdir /data/misc/update_engine 0700 root root