platform_device_xiaomi_sm84.../sepolicy/vendor/hal_perf.te
Arian 37eea61587 sm8450-common: Initial sepolicy
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
2024-03-19 23:22:36 +01:00

20 lines
No EOL
1.3 KiB
Text

allow vendor_hal_perf_default hal_graphics_composer_default:process getpgid;
allow vendor_hal_perf_default hal_graphics_composer_default:dir r_dir_perms;
allow vendor_hal_perf_default hal_graphics_composer_default:file r_file_perms;
allow vendor_hal_perf_default hal_graphics_composer_default:file append;
allow vendor_hal_perf_default hal_graphics_composer:dir search;
allow vendor_hal_perf_default hal_camera_default:dir r_dir_perms;
allow vendor_hal_perf_default hal_camera_default:file r_file_perms;
allow vendor_hal_perf_default hal_fingerprint_default:dir r_dir_perms;
allow vendor_hal_perf_default hal_fingerprint_default:file r_file_perms;
allow vendor_hal_perf_default sysfs_thermal:file rw_file_perms;
allow vendor_hal_perf_default hal_audio_default:dir search;
allow vendor_hal_perf_default hal_audio_default:file { open read };
allow vendor_hal_perf_default thermal_data_file:dir { read search watch };
allow vendor_hal_perf_default thermal_data_file:file { getattr open read setattr unlink };
allow vendor_hal_perf_default vendor_hal_displayfeature_xiaomi_default:dir search;
allow vendor_hal_perf_default vendor_hal_displayfeature_xiaomi_default:file read;
allow vendor_hal_perf_default mi_thermald:dir r_dir_perms;
allow vendor_hal_perf_default mi_thermald:file r_file_perms;
set_prop(vendor_hal_perf_default, vendor_wlc_public_prop)