Files
device_xiaomi_sm6225-common/sepolicy/vendor/system_app.te

28 lines
1.1 KiB
Plaintext

allow system_app proc_pagetypeinfo:file { read open getattr };
allow system_app sysfs_zram:dir r_dir_perms;
allow system_app sysfs_zram:file r_file_perms;
allow system_app sysfs_thermal:file { rw_file_perms getattr };
binder_call(system_app, hal_audio_default)
binder_call(system_app, hal_health_default)
binder_call(system_app, hal_ir_default)
binder_call(system_app, hal_memtrack_default)
binder_call(system_app, vendor_hal_gnss_qti)
# Fastcharge
allow system_app sysfs_thermal:file write;
allow system_app sysfs_thermal:file rw_file_perms;
allow system_app sysfs_fastcharge:file rw_file_perms;
allow system_app vendor_sysfs_battery_supply:dir { search };
allow system_app vendor_sysfs_battery_supply:file rw_file_perms;
# binder call perms
allow system_app hal_fingerprint_default:binder call;
allow system_app hal_audio_default:binder call;
allow system_app hal_bootctl_default:binder call;
allow system_app vendor_hal_gnss_qti:binder call;
allow system_app hal_health_default:binder call;
allow system_app hal_nfc_default:binder call;
allow system_app hal_power_default:binder call;
allow system_app vendor_hal_keymint_qti:binder call;