android_device_samsung_msm8.../sepolicy/common/hal_sensors_default.te
2019-10-17 16:12:48 +02:00

40 lines
859 B
Text

r_dir_file(hal_sensors_default, efs_file)
allow hal_sensors_default {
iio_device
sensors_device
}:chr_file r_file_perms;
allow hal_sensors_default {
sysfs_iio
sysfs_input
}:dir r_dir_perms;
allow hal_sensors_default {
sysfs_batteryinfo
sysfs_graphics
sysfs_leds
sysfs_sec_thermistor
}:dir search;
allow hal_sensors_default {
sysfs_batteryinfo
sysfs_graphics
sysfs_sec_thermistor
}:file r_file_perms;
allow hal_sensors_default {
sysfs_iio
sysfs_input
}:file rw_file_perms;
allow hal_sensors_default {
sysfs_iio
sysfs_input
}:lnk_file read;
allow hal_sensors_default system_data_file:file write;
allow hal_sensors_default sysfs:dir read;
allow hal_sensors_default sysfs:dir open;
allow hal_sensors_default sysfs:file read;
allow hal_sensors_default system_data_file:file { open read getattr };