android_device_xiaomi_sdm66.../sepolicy/vendor/system_app.te
Max Weffers 4c9dac421a sdm660-common: sepolicy: Grant XiaomiParts access to thermal file
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00

31 lines
1.3 KiB
Text

allow system_app blkio_dev:dir search;
allow system_app hall_dev:dir r_dir_perms;
allow system_app hall_dev:file rw_file_perms;
allow system_app hall_dev:lnk_file r_file_perms;
allow system_app kcal_dev:dir search;
allow system_app kcal_dev:file rw_file_perms;
allow system_app proc_pagetypeinfo:file r_file_perms;
allow system_app proc_vmallocinfo:file read;
allow system_app sysfs_fcharge:file rw_file_perms;
allow system_app sysfs_vibrator:dir search;
allow system_app sysfs_vibrator:file rw_file_perms;
allow system_app sysfs_graphics:dir search;
allow system_app sysfs_graphics:file rw_file_perms;
allow system_app sysfs_leds:dir search;
allow system_app sysfs_fpsinfo:file rw_file_perms;
allow system_app sysfs_headphonegain:file rw_file_perms;
allow system_app sysfs_micgain:file rw_file_perms;
allow system_app sysfs_earpiecegain:file rw_file_perms;
allow system_app sysfs_zram:dir search;
allow system_app sysfs_zram:file r_file_perms;
allow system_app zygote:unix_stream_socket { getopt };
allow system_app sysfs_thermal:file rw_file_perms;
allow system_app sysfs_thermal:dir search;
# neverallow and harmless
dontaudit system_app time_daemon:unix_stream_socket { connectto };
get_prop(system_app, system_prop);
set_prop(system_app, system_prop);
get_prop(system_app, qemu_hw_prop);
hal_client_domain(system_app, hal_mlipay);