sdm845-common: Add tri-state-key daemon

Change-Id: I796f3853ac87df78a0d1a890c663e312a0ee2d1b
This commit is contained in:
Luca Stefani
2018-07-08 00:32:31 +02:00
committed by LuK1337
parent 6f2dd6a0c7
commit 89203b453e
11 changed files with 403 additions and 1 deletions

View File

@@ -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

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;