sm8150-common: sepolicy: Import tri-state-key rules from sdm845-common

Change-Id: I1c0044a9bd3176d610d83eaae965ef35bc042fe0
This commit is contained in:
LuK1337 2019-07-08 10:25:44 +02:00
parent 6d4282b798
commit c6f5c53f81
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# Binaries
/system/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0

View File

@ -0,0 +1,7 @@
type tri-state-key_daemon, domain, coredomain;
type tri-state-key_daemon_exec, 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;