diff --git a/sepolicy/common/file.te b/sepolicy/common/file.te index 5f5eb69..e087099 100644 --- a/sepolicy/common/file.te +++ b/sepolicy/common/file.te @@ -1,6 +1,7 @@ type proc_bt_sleep, fs_type; type sysfs_mdnie, fs_type, sysfs_type; +type sysfs_hal_pwr, fs_type, sysfs_type; type sysfs_sec, fs_type, sysfs_type; type sysfs_wifi_writeable, fs_type, sysfs_type; diff --git a/sepolicy/common/hal_power_default.te b/sepolicy/common/hal_power_default.te new file mode 100644 index 0000000..dbf2d4a --- /dev/null +++ b/sepolicy/common/hal_power_default.te @@ -0,0 +1 @@ +allow hal_power_default sysfs_hal_pwr:file w_file_perms;