android_device_samsung_msm8.../sepolicy/hal_sensors_default.te
Deokgyu Yang b9bf9bca14 gts3l-common: sepolicy: Add some missing policies and add genfs_contexts
Temporarility

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4611d613a38f64fb0156f329983d1d6248f0b37b
2022-02-09 01:19:28 +09:00

19 lines
753 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 read };
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)