sm8250-common: tri-state-key: Relocate to /vendor

Change-Id: Ic70173b82ded0151e98fcfa4023b8a081cd67874
This commit is contained in:
LuK1337 2020-04-30 12:04:15 +02:00
parent cf6e99f02a
commit 2412a59d46
6 changed files with 8 additions and 9 deletions

View file

@ -206,7 +206,6 @@ VENDOR_SECURITY_PATCH := 2020-11-01
# Sepolicy # Sepolicy
include device/qcom/sepolicy_vndr/SEPolicy.mk include device/qcom/sepolicy_vndr/SEPolicy.mk
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(COMMON_PATH)/sepolicy/private
BOARD_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor BOARD_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# Verified Boot # Verified Boot

View file

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

View file

@ -1,7 +1,8 @@
# Binaries # Binaries
/(vendor|system/vendor)/bin/dashd u:object_r:dashd_exec:s0 /(vendor|system/vendor)/bin/dashd u:object_r:dashd_exec:s0
/(vendor|system/vendor)/bin/opf-service u:object_r:opf_exec:s0 /(vendor|system/vendor)/bin/opf-service u:object_r:opf_exec:s0
/(vendor|system/vendor)/bin/wlchgd u:object_r:wlchgd_exec:s0 /(vendor|system/vendor)/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0
/(vendor|system/vendor)/bin/wlchgd u:object_r:wlchgd_exec:s0
# Block devices # Block devices
/dev/block/platform/soc/1d84000.ufshc/by-name/config u:object_r:frp_block_device:s0 /dev/block/platform/soc/1d84000.ufshc/by-name/config u:object_r:frp_block_device:s0

View file

@ -1,5 +1,5 @@
type tri-state-key_daemon, domain, coredomain; type tri-state-key_daemon, domain;
type tri-state-key_daemon_exec, system_file_type, exec_type, file_type; type tri-state-key_daemon_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(tri-state-key_daemon) init_daemon_domain(tri-state-key_daemon)

View file

@ -24,6 +24,7 @@ cc_binary {
"-Wall", "-Wall",
"-Werror", "-Werror",
], ],
vendor: true,
shared_libs: [ shared_libs: [
"libbase", "libbase",
"liblog", "liblog",

View file

@ -1,7 +1,7 @@
on fs on fs
start tri-state-key_daemon start tri-state-key_daemon
service tri-state-key_daemon /system/bin/tri-state-key_daemon service tri-state-key_daemon /vendor/bin/tri-state-key_daemon
class late_start class late_start
user system user system
group system uhid group system uhid