This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_sm7250-common/sepolicy/vendor/vl53l1_daemon_main.te
LuK1337 d1d109c825 sm8250-common: Bring in TOF sensor HAL
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00

15 lines
422 B
Plaintext

type vl53l1_daemon_main, domain;
type vl53l1_daemon_main_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(vl53l1_daemon_main)
allow vl53l1_daemon_main self:{
netlink_generic_socket
netlink_iscsi_socket
netlink_kobject_uevent_socket
netlink_socket
} create_socket_perms_no_ioctl;
allow vl53l1_daemon_main sysfs_vl53l1:dir search;
allow vl53l1_daemon_main sysfs_vl53l1:file rw_file_perms;