summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2015-07-13 14:24:22 -0500
committerVishal Mahaveer2015-07-13 14:25:22 -0500
commit540f24adb1dbdfa2bbed79ea1db04b8b220b8e0a (patch)
tree4b6905ad24ce9dc78d8c840daadf58c53ef8aa48 /sepolicy
parent00c858de39b22eb5f0c0fc92ba09bacc682231aa (diff)
downloaddevice-ti-jacinto6evm-540f24adb1dbdfa2bbed79ea1db04b8b220b8e0a.tar.gz
device-ti-jacinto6evm-540f24adb1dbdfa2bbed79ea1db04b8b220b8e0a.tar.xz
device-ti-jacinto6evm-540f24adb1dbdfa2bbed79ea1db04b8b220b8e0a.zip
jacinto6evm: add rule for mediaserver/rpmsg
Add sepolicy rules for mediaserver/rpmsg Change-Id: I070f4a1acbb0af6961083483c33b899b9d023ac8 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts3
-rw-r--r--sepolicy/mediaserver.te1
2 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index eeff4f3..8dc67b4 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -11,3 +11,6 @@
11 11
12/system/vendor/bin/pvrsrvctl u:object_r:pvr_exec:s0 12/system/vendor/bin/pvrsrvctl u:object_r:pvr_exec:s0
13/system/vendor/bin/pvrsrvinit u:object_r:pvr_exec:s0 13/system/vendor/bin/pvrsrvinit u:object_r:pvr_exec:s0
14
15#rpmsg
16/dev/rpmsg-dce u:object_r:rpmsg_device:s0
diff --git a/sepolicy/mediaserver.te b/sepolicy/mediaserver.te
new file mode 100644
index 0000000..dab508b
--- /dev/null
+++ b/sepolicy/mediaserver.te
@@ -0,0 +1 @@
allow mediaserver system_server:unix_stream_socket { read write };