aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-09 10:48:22 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-12-09 10:48:22 +0100
commit92076a102ac0d569334c5b6295126f5b96fd6637 (patch)
tree3a7cd1032709cdcd72f160fcab57437dde9f8706 /selinux
parentdd8fa5a29f31884003b25947ae2146e6b096493b (diff)
downloaddevice_samsung_kona-common-92076a102ac0d569334c5b6295126f5b96fd6637.zip
device_samsung_kona-common-92076a102ac0d569334c5b6295126f5b96fd6637.tar.gz
device_samsung_kona-common-92076a102ac0d569334c5b6295126f5b96fd6637.tar.bz2
kona : selinux update
Change-Id: I7cfcde8071e5108d256ae03e5e0e636128386143
Diffstat (limited to 'selinux')
-rw-r--r--selinux/mediaserver.te5
-rw-r--r--selinux/vold.te2
2 files changed, 5 insertions, 2 deletions
diff --git a/selinux/mediaserver.te b/selinux/mediaserver.te
index 2cb4f34..11cf12e 100644
--- a/selinux/mediaserver.te
+++ b/selinux/mediaserver.te
@@ -1,3 +1,6 @@
allow mediaserver system_file:file execmod;
allow mediaserver graphics_device:chr_file { ioctl open read write };
-
+allow mediaserver self:socket create;
+allow mediaserver socket_device:dir { remove_name add_name write };
+allow mediaserver socket_device:sock_file { setattr write create };
+allow mediaserver qmuxd:unix_stream_socket connectto;
diff --git a/selinux/vold.te b/selinux/vold.te
index 1f59131..29eff5b 100644
--- a/selinux/vold.te
+++ b/selinux/vold.te
@@ -1 +1 @@
-allow vold efs_file:dir { ioctl open }; \ No newline at end of file
+allow vold efs_file:dir { read ioctl open };