summaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
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;