sm8250-common: add sepolicies from nio

state: fffc7ba5a6
This commit is contained in:
SGCMarkus 2022-02-19 01:22:12 +01:00
commit a6fb204f84
45 changed files with 514 additions and 0 deletions

9
sepolicy/vendor/vl53l1.te vendored Normal file
View file

@ -0,0 +1,9 @@
type vl53l1, domain;
type vl53l1_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(vl53l1)
allow vl53l1 self:netlink_socket { read write create bind };
allow vl53l1 self:netlink_iscsi_socket { bind create read write };
allow vl53l1 vendor_sysfs_laser:dir r_dir_perms;
allow vl53l1 vendor_sysfs_laser:file rw_file_perms;