aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-10-21 12:17:55 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-10-21 12:17:55 +0200
commit4992fe937001be23fa3b9648fd48e6d15ecd3871 (patch)
tree509e84ca970040ea20b447bb9c8bf701a0fcc8ad /selinux
parentf976a5b478c0fed6b92fe580a65ab94793c17def (diff)
downloaddevice_samsung_kona-common-4992fe937001be23fa3b9648fd48e6d15ecd3871.zip
device_samsung_kona-common-4992fe937001be23fa3b9648fd48e6d15ecd3871.tar.gz
device_samsung_kona-common-4992fe937001be23fa3b9648fd48e6d15ecd3871.tar.bz2
kona : selinux update
Change-Id: I73f893ae0cfbdfc327e9bd388441c34752f6859e
Diffstat (limited to 'selinux')
-rw-r--r--selinux/file_contexts1
-rw-r--r--selinux/mediaserver.te1
2 files changed, 2 insertions, 0 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
index 79c22e8..1b6cf04 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -22,6 +22,7 @@
/data/.cid.info u:object_r:wifi_data_file:s0
/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
+/dev/s3c-mfc u:object_r:graphics_device:s0
/dev/__cbd_msg_ u:object_r:radio_device:s0
/dev/ttySAC0 u:object_r:serial_device:s0
/dev/ttySAC1 u:object_r:gps_device:s0
diff --git a/selinux/mediaserver.te b/selinux/mediaserver.te
index bed10c4..2cb4f34 100644
--- a/selinux/mediaserver.te
+++ b/selinux/mediaserver.te
@@ -1,2 +1,3 @@
allow mediaserver system_file:file execmod;
+allow mediaserver graphics_device:chr_file { ioctl open read write };