summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorHyejin Kim <hyejin.kim@lge.com>2015-05-21 11:42:29 +0900
committerThierry Strudel <tstrudel@google.com>2015-06-30 08:37:13 -0700
commitd1d8821bcf8de05e4d97c068d28ef33920c13e66 (patch)
tree3bbd74c13020eb28d9f95e4e876080854cf90823 /sepolicy/file_contexts
parent213ed1c080760d626d8ed498c7fc2c128eb9d055 (diff)
downloadbullhead-d1d8821bcf8de05e4d97c068d28ef33920c13e66.tar.gz
bullhead/sepolicy: Add sepolicy for camera
avc: denied { execute_no_trans } for path="/system/bin/mm-qcamera-daemon" dev="mmcblk0p38" ino=272 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file avc: denied { write } for name="video0" dev="tmpfs" ino=4670 scontext=u:r:init:s0 tcontext=u:object_r:video_device:s0 tclass=chr_file avc: denied { read write } for name="media0" dev="tmpfs" ino=10856 scontext=u:r:mediaserver:s0 tcontext=u:object_r:device:s0 tclass=chr_file avc: denied { open } for path="/dev/media0" dev="tmpfs" ino=10856 scontext=u:r:mediaserver:s0 tcontext=u:object_r:device:s0 tclass=chr_file avc: denied { ioctl } for path="/dev/media0" dev="tmpfs" ino=10856 ioctlcmd=7c00 scontext=u:r:mediaserver:s0 tcontext=u:object_r:device:s0 tclass=chr_file avc: denied { execmod } for path="/vendor/lib/libmmcamera_faceproc.so" dev="mmcblk0p36" ino=129 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file avc: denied { write } for name="kgsl-3d0" dev="tmpfs" ino=4671 scontext=u:r:init:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file avc: denied { ioctl } for path="/dev/kgsl-3d0" dev="tmpfs" ino=4671 ioctlcmd=940 scontext=u:r:init:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file avc: denied { ioctl } for path="/dev/video0" dev="tmpfs" ino=4670 ioctlcmd=565a scontext=u:r:init:s0 tcontext=u:object_r:video_device:s0 tclass=chr_file avc: denied { read write } for name="v4l-subdev7" dev="tmpfs" ino=4659 scontext=u:r:camera:s0 tcontext=u:object_r:device:s0 tclass=chr_file avc: denied { open } for path="/dev/v4l-subdev7" dev="tmpfs" ino=4659 scontext=u:r:camera:s0 tcontext=u:object_r:device:s0 tclass=chr_file avc: denied { ioctl } for path="/dev/v4l-subdev7" dev="tmpfs" ino=4659 ioctlcmd=56ca scontext=u:r:camera:s0 tcontext=u:object_r:device:s0 tclass=chr_file Change-Id: Ifbad4275151d3563848220f3c9e2971b3d6a81f2 Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 6132ccd..e3d7435 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -64,6 +64,8 @@
/dev/msm_audio_cal u:object_r:audio_device:s0
/dev/msm_rtac u:object_r:audio_device:s0
+/dev/v4l-subdev[0-9]* u:object_r:video_device:s0
+/dev/media([0-9])+ u:object_r:camera_device:s0
/dev/ttyHS0 u:object_r:ttyHS0_device:s0
/dev/subsys_modem u:object_r:subsys_modem_device:s0
@@ -88,6 +90,8 @@
/system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0
/system/bin/subsystem_ramdump u:object_r:ssr_exec:s0
/system/bin/sensortool\.bullhead u:object_r:sensortool_exec:s0
+/system/bin/mm-qcamera-daemon u:object_r:camera_exec:s0
+
/vendor/bin/qti u:object_r:qti_exec:s0
/system/bin/imsdatadaemon u:object_r:ims_exec:s0
/system/bin/imsqmidaemon u:object_r:ims_exec:s0