You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
546 B
21 lines
546 B
# kernel.te
|
|
|
|
# /vendor/firmware/
|
|
allow kernel vendor_firmware_file:dir r_dir_perms;
|
|
allow kernel vendor_firmware_file:file r_file_perms;
|
|
|
|
allow kernel block_device:blk_file { read write open };
|
|
allow kernel block_device:dir search;
|
|
|
|
# /sys/devices/virtual/sec/hall_ic/hall_detect
|
|
allow kernel sysfs_sensors:file { read open };
|
|
|
|
allow kernel {
|
|
sysfs_sensors
|
|
vendor_sysfs_sensors
|
|
}:dir search;
|
|
|
|
# /efs/FactoryApp/
|
|
allow kernel efs_file:dir search;
|
|
allow kernel app_efs_file:dir search;
|
|
allow kernel app_efs_file:file { read open getattr };
|
|
|