diff --git a/whitechapel_pro/file.te b/whitechapel_pro/file.te index 3d894e3d..fd6761d3 100644 --- a/whitechapel_pro/file.te +++ b/whitechapel_pro/file.te @@ -42,6 +42,7 @@ type sysfs_wlc, sysfs_type, fs_type; type sysfs_chargelevel, sysfs_type, fs_type; type sysfs_mfc, sysfs_type, fs_type; type sysfs_cpu, sysfs_type, fs_type; +type sysfs_odpm, sysfs_type, fs_type; type sysfs_soc, sysfs_type, fs_type; type sysfs_camera, sysfs_type, fs_type; type sysfs_write_leds, sysfs_type, fs_type; diff --git a/whitechapel_pro/hal_power_stats_default.te b/whitechapel_pro/hal_power_stats_default.te index 3365228b..4451f88a 100644 --- a/whitechapel_pro/hal_power_stats_default.te +++ b/whitechapel_pro/hal_power_stats_default.te @@ -8,6 +8,7 @@ r_dir_file(hal_power_stats_default, sysfs_cpu) r_dir_file(hal_power_stats_default, sysfs_edgetpu) r_dir_file(hal_power_stats_default, sysfs_iio_devices) r_dir_file(hal_power_stats_default, sysfs_leds) +r_dir_file(hal_power_stats_default, sysfs_odpm) r_dir_file(hal_power_stats_default, sysfs_scsi_devices_0000) r_dir_file(hal_power_stats_default, sysfs_wifi) diff --git a/whitechapel_pro/hal_thermal_default.te b/whitechapel_pro/hal_thermal_default.te index 5e597c7c..9852a767 100644 --- a/whitechapel_pro/hal_thermal_default.te +++ b/whitechapel_pro/hal_thermal_default.te @@ -1 +1,2 @@ allow hal_thermal_default sysfs_iio_devices:dir r_dir_perms; +allow hal_thermal_default sysfs_odpm:file r_file_perms;