diff options
Diffstat (limited to 'selinux')
| -rw-r--r-- | selinux/file_contexts | 3 | ||||
| -rwxr-xr-x | selinux/system.te | 5 | 
2 files changed, 3 insertions, 5 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts index 856bdd5..fb1996e 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/mdm                                u:object_r:radio_device:s0  /dev/hsicctl[0-3]*                      u:object_r:radio_device:s0 diff --git a/selinux/system.te b/selinux/system.te index 73de1ee..bfc12a6 100755 --- a/selinux/system.te +++ b/selinux/system.te @@ -2,11 +2,12 @@  qmux_socket(system)  allow system diagnostic_device:chr_file rw_file_perms; -allow system uinput_device:chr_file { read ioctl write open }; +#allow system uinput_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;  allow system_app volume_data_file:file { read write open getattr };  allow system sysfs:file { read open write }; -allow system self:capability { sys_module };
\ No newline at end of file +allow system self:capability { sys_module }; +  | 
