device_phh_treble/sepolicy/huawei.te

18 lines
703 B
Plaintext
Raw Normal View History

2018-08-15 10:26:01 +00:00
allow ueventd proc:file r_file_perms;
permissive ueventd;
2019-11-30 19:38:41 +00:00
type teecd_data_file, file_type;
type dmd_device, file_type;
allow hal_fingerprint_server dmd_device:chr_file rw_file_perms;
allow hal_fingerprint_server sysfs:file rw_file_perms;
allow tee hal_fingerprint_default:process { getattr };
2021-03-01 08:58:41 +00:00
allow tee teecd_data_file:dir { search read write create getattr add_name open };
allow tee teecd_data_file:file { read write create getattr open };
allow tee system_data_file:dir { getattr };
2019-11-30 19:38:41 +00:00
type oeminfo_nvm, domain;
type oeminfo_nvm_device, file_type;
allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 };
allow charger rootfs:file { ioctl read getattr lock map execute entrypoint open };