summaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-11-11 20:40:36 +0000
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-11-11 20:40:36 +0000
commit9ab9fdc73ead528fdf978b7d09efa908bb90f21b (patch)
tree4f41333bd27a3129b63c1bcd1149536c8566b591 /selinux
parentcceb9faf6b0784531b9945665d09eed888cdab35 (diff)
downloaddevice_samsung_i9300-9ab9fdc73ead528fdf978b7d09efa908bb90f21b.zip
device_samsung_i9300-9ab9fdc73ead528fdf978b7d09efa908bb90f21b.tar.gz
device_samsung_i9300-9ab9fdc73ead528fdf978b7d09efa908bb90f21b.tar.bz2
selinux: Re-enable the device-specific policies
Change-Id: I59769775be803ae6f175e4195fdde14528694fdd
Diffstat (limited to 'selinux')
-rw-r--r--selinux/file_contexts3
-rw-r--r--selinux/system.te2
2 files changed, 1 insertions, 4 deletions
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;