mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: sepolicy: Address Sensor Denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
c655415a29
commit
d6872da829
50
sepolicy/vendor/hal_sensors_default.te
vendored
50
sepolicy/vendor/hal_sensors_default.te
vendored
|
@ -1,35 +1,39 @@
|
|||
# Allow to read sensor devices
|
||||
allow hal_sensors_default hal_graphics_allocator_default:fd use;
|
||||
allow hal_sensors_default gpu_device:dir create_dir_perms;
|
||||
allow hal_sensors_default gpu_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default dri_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default ion_device:dir create_dir_perms;
|
||||
allow hal_sensors_default ion_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default system_file:dir r_dir_perms;
|
||||
allow hal_sensors_default sysfs_sensor:dir r_dir_perms;
|
||||
allow hal_sensors_default sysfs_sensor:file rw_file_perms;
|
||||
allow hal_sensors_default gpu_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default gpu_device:dir create_dir_perms;
|
||||
allow hal_sensors_default hal_graphics_allocator_default:fd use;
|
||||
allow hal_sensors_default hf_manager_device:chr_file read;
|
||||
allow hal_sensors_default hf_manager_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default hwmsensor_device:chr_file r_file_perms;
|
||||
allow hal_sensors_default sensorlist_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default ion_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default ion_device:dir create_dir_perms;
|
||||
allow hal_sensors_default m_acc_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_als_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_ps_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_mag_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_gyro_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_baro_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_hmdy_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_act_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_als_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_baro_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_bio_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_fusion_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_gyro_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_hmdy_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_mag_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_pedo_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_ps_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_situ_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_step_c_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_fusion_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default m_bio_misc_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default hf_manager_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default sensor_data_file:file create_file_perms;
|
||||
allow hal_sensors_default sensor_data_file:dir create_dir_perms;
|
||||
allow hal_sensors_default nvcfg_file:file create_file_perms;
|
||||
allow hal_sensors_default nvcfg_file:dir create_dir_perms;
|
||||
allow hal_sensors_default mnt_vendor_file:dir search;
|
||||
allow hal_sensors_default merged_hal_service:fd use;
|
||||
allow hal_sensors_default metadata_file:dir search;
|
||||
allow hal_sensors_default mnt_vendor_file:dir search;
|
||||
allow hal_sensors_default nvcfg_file:dir create_dir_perms;
|
||||
allow hal_sensors_default nvcfg_file:file create_file_perms;
|
||||
allow hal_sensors_default sensor_data_file:dir create_dir_perms;
|
||||
allow hal_sensors_default sensor_data_file:dir search;
|
||||
allow hal_sensors_default sensor_data_file:file create_file_perms;
|
||||
allow hal_sensors_default sensorlist_device:chr_file rw_file_perms;
|
||||
allow hal_sensors_default sysfs_dt_firmware_android:dir search;
|
||||
allow hal_sensors_default sysfs_mtk_nanohub_state:file r_file_perms;
|
||||
allow hal_sensors_default sysfs_sensor:dir r_dir_perms;
|
||||
allow hal_sensors_default sysfs_sensor:file rw_file_perms;
|
||||
allow hal_sensors_default system_file:dir r_dir_perms;
|
||||
|
||||
allow hal_sensors_default system_server:binder call;
|
||||
|
|
Loading…
Reference in a new issue