summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorjaejyn.shin <jaejyn.shin@lge.com>2015-06-30 09:36:35 +0900
committerThierry Strudel <tstrudel@google.com>2015-07-01 09:36:56 -0700
commitdc109c8e4977248017397dd5097420b495a63714 (patch)
tree47870c06cc1e237607550c74bc1fccb1e34e5743 /sepolicy/file_contexts
parentc03a898ff1b354e9f01596a42af5d5deaec233f2 (diff)
downloadbullhead-dc109c8e4977248017397dd5097420b495a63714.tar.gz
bullhead/sepolicy: fix /dev/smdcnt([0-9])+ labeling
avc: denied { read write } for pid=444 comm="qmuxd" name="smdcntl0" dev="tmpfs" ino=12451 scontext=u:r:qmux:s0 tcontext=u:object_r:smd_device:s0 tclass=chr_file permissive=1 avc: denied { open } for pid=444 comm="qmuxd" path="/dev/smdcntl0" dev="tmpfs" ino=12451 scontext=u:r:qmux:s0 tcontext=u:object_r:smd_device:s0 tclass=chr_file permissive=1 complete avc: denied { ioctl } for pid=444 comm="qmuxd" path="/dev/smdcntl0" dev="tmpfs" ino=12451 ioctlcmd=c200 scontext=u:r:qmux:s0 tcontext=u:object_r:smd_device:s0 tclass=chr_file permissive=1 Change-Id: I5ba813857cf074c817eb2a80e753c1efaa5b31f0
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 66a24d6..18e3e93 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -59,7 +59,7 @@
# qmi protocol driver
/dev/qmi[0-2] u:object_r:radio_device:s0
# shared memory drivers
-/dev/smdcntl([0-9])+ u:object_r:radio_device:s0
+/dev/smdcntl([0-9])+ u:object_r:smd_device:s0
/dev/smd([0-9])+ u:object_r:smd_device:s0
/dev/smem_log u:object_r:smem_log_device:s0