android_device_samsung_msm8.../sepolicy/hal_sensors_default.te
Deokgyu Yang b9043c7f89 gts3l-common: sepolicy: Resolve almost warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife457f032ac33b6c330b79d08bb841b3c1c0c19e
2021-08-24 00:41:09 +09:00

19 lines
748 B
Text

allow hal_sensors_default input_device:dir r_dir_perms;
allow hal_sensors_default input_device:chr_file rw_file_perms;
allow hal_sensors_default sysfs:dir { open read };
allow hal_sensors_default sysfs:file { open getattr write };
allow hal_sensors_default sysfs_sensors:dir r_dir_perms;
allow hal_sensors_default sysfs_sensors:file rw_file_perms;
allow hal_sensors_default mnt_vendor_file:dir rw_dir_perms;
allow hal_sensors_default mnt_vendor_file:file create_file_perms;
allow hal_sensors_default app_efs_file:dir create_dir_perms;
allow hal_sensors_default app_efs_file:file create_file_perms;
allow hal_sensors_default sec_poc_file:dir r_dir_perms;
r_dir_file(hal_sensors_default, efs_file)
r_dir_file(hal_sensors_default, sec_poc_file)