diff --git a/public/init.te b/public/init.te index 62406f3e8fe27b29aeae854194de304f261f864f..3d74f6b19fc744059767c04d28fa05f5b61372c9 100644 --- a/public/init.te +++ b/public/init.te @@ -214,7 +214,7 @@ allow init { -contextmount_type -proc -sdcard_type - -sysfs + -sysfs_type -rootfs }:file { open read setattr }; allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search }; @@ -304,6 +304,10 @@ allow init { sysfs_zram }:file w_file_perms; +allow init { + sysfs_dt_firmware_android +}:file r_file_perms; + # init chmod/chown access to /sys files. allow init { sysfs_android_usb @@ -312,6 +316,8 @@ allow init { sysfs_leds sysfs_lowmemorykiller sysfs_power + sysfs_vibrator + sysfs_wake_lock }:file setattr; # Set usermodehelpers.