From 9ab9fdc73ead528fdf978b7d09efa908bb90f21b Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Mon, 11 Nov 2013 20:40:36 +0000 Subject: selinux: Re-enable the device-specific policies Change-Id: I59769775be803ae6f175e4195fdde14528694fdd --- selinux/file_contexts | 3 --- selinux/system.te | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'selinux') diff --git a/selinux/file_contexts b/selinux/file_contexts index 93065b8..55022ec 100644 --- a/selinux/file_contexts +++ b/selinux/file_contexts @@ -3,9 +3,6 @@ /dev/ump u:object_r:mali_device:s0 /dev/fimg2d u:object_r:mali_device:s0 -# NFC -/dev/pn544 u:object_r:nfc_device:s0 - # RIL /dev/umts_boot0 u:object_r:radio_device:s0 /dev/umts_boot1 u:object_r:radio_device:s0 diff --git a/selinux/system.te b/selinux/system.te index 0ac9cfc..395aeea 100644 --- a/selinux/system.te +++ b/selinux/system.te @@ -1,4 +1,4 @@ -allow system uinput_device:chr_file { read ioctl write open }; +allow system input_device:chr_file { read ioctl write open }; allow system sensors_device:chr_file { read open }; allow system sensors_data_file:file r_file_perms; allow system wpa_socket:unix_dgram_socket sendto; -- cgit v1.1