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/tri-state-key_daemon.te
Hikari-no-Tenshi 19525f89df sm8250-common: tri-state-key: Add hall sensor calibration support
Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb743e
2021-02-08 15:06:53 +01:00

14 lines
472 B
Plaintext

type tri-state-key_daemon, domain;
type tri-state-key_daemon_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(tri-state-key_daemon)
allow tri-state-key_daemon uhid_device:chr_file rw_file_perms;
allow tri-state-key_daemon self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow tri-state-key_daemon sysfs_tri_state_key:file w_file_perms;
allow tri-state-key_daemon mnt_vendor_file:dir search;
r_dir_file(tri-state-key_daemon, oem_file)