diff --git a/device.te b/device.te index 2aeeb16d062be1506e004d87c5d18bbddc1ef1b8..344027f8ab9692c36eb8e20337a055d50404d4c1 100644 --- a/device.te +++ b/device.te @@ -33,7 +33,6 @@ type random_device, dev_type; type sensors_device, dev_type; type serial_device, dev_type; type socket_device, dev_type; -type timerirq_device, dev_type; type tty_device, dev_type; type urandom_device, dev_type; type video_device, dev_type; diff --git a/system.te b/system.te index 503bd3c719e648cc650800676af9877e5f20668d..2c3449f694c533f431de068d6dd199f93cc1b725 100644 --- a/system.te +++ b/system.te @@ -229,5 +229,5 @@ allow system cache_backup_file:dir { relabelto relabelfrom create_dir_perms }; allow system usb_device:chr_file rw_file_perms; allow system usb_device:dir r_dir_perms; -# Allow system to talk to sensors and timer irq -allow system { sensors_device timerirq_device }:chr_file rw_file_perms; +# Allow system to talk to sensors +allow system sensors_device:chr_file rw_file_perms;