sdm845-common: Add tri-state-key daemon
Change-Id: I796f3853ac87df78a0d1a890c663e312a0ee2d1b
This commit is contained in:
@@ -8,3 +8,6 @@
|
||||
|
||||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
# tri-state-key
|
||||
/system/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0
|
||||
|
||||
7
sepolicy/private/tri-state-key.te
Normal file
7
sepolicy/private/tri-state-key.te
Normal 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;
|
||||
Reference in New Issue
Block a user