From 4992fe937001be23fa3b9648fd48e6d15ecd3871 Mon Sep 17 00:00:00 2001 From: RGIB Date: Fri, 21 Oct 2016 12:17:55 +0200 Subject: kona : selinux update Change-Id: I73f893ae0cfbdfc327e9bd388441c34752f6859e --- selinux/file_contexts | 1 + selinux/mediaserver.te | 1 + 2 files changed, 2 insertions(+) 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 }; -- cgit v1.1