aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 };