sm8350-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and KeyHandler itself no longer needs to be added to lineage-sdk overlays. Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
This commit is contained in:
parent
34972ef817
commit
0885f34c01
8 changed files with 29 additions and 29 deletions
6
sepolicy/vendor/file_contexts
vendored
6
sepolicy/vendor/file_contexts
vendored
|
|
@ -1,7 +1,7 @@
|
|||
# Binaries
|
||||
/(vendor|system/vendor)/bin/opf-service u:object_r:opf_exec:s0
|
||||
/(vendor|system/vendor)/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0
|
||||
/(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi-mac-generator_exec:s0
|
||||
/(vendor|system/vendor)/bin/opf-service u:object_r:opf_exec:s0
|
||||
/(vendor|system/vendor)/bin/tri-state-key-calibrate u:object_r:tri-state-key-calibrate_exec:s0
|
||||
/(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi-mac-generator_exec:s0
|
||||
|
||||
# Block devices
|
||||
/dev/block/platform/soc/1d84000\.ufshc/by-name/oplus_sec_[ab] u:object_r:vendor_custom_ab_block_device:s0
|
||||
|
|
|
|||
13
sepolicy/vendor/tri-state-key-calibrate.te
vendored
Normal file
13
sepolicy/vendor/tri-state-key-calibrate.te
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
type tri-state-key-calibrate, domain;
|
||||
type tri-state-key-calibrate_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(tri-state-key-calibrate)
|
||||
|
||||
allow tri-state-key-calibrate vendor_shell_exec:file rx_file_perms;
|
||||
allow tri-state-key-calibrate vendor_toolbox_exec:file rx_file_perms;
|
||||
|
||||
allow tri-state-key-calibrate sysfs_tri_state_key:file w_file_perms;
|
||||
|
||||
allow tri-state-key-calibrate mnt_vendor_file:dir search;
|
||||
|
||||
r_dir_file(tri-state-key-calibrate, oem_file)
|
||||
13
sepolicy/vendor/tri-state-key_daemon.te
vendored
13
sepolicy/vendor/tri-state-key_daemon.te
vendored
|
|
@ -1,13 +0,0 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue