sm8250-common: tri-state-key: Relocate to /vendor
Change-Id: Ic70173b82ded0151e98fcfa4023b8a081cd67874
This commit is contained in:
parent
cf6e99f02a
commit
2412a59d46
6 changed files with 8 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# tri-state-key
|
|
||||||
/system/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0
|
|
7
sepolicy/vendor/file_contexts
vendored
7
sepolicy/vendor/file_contexts
vendored
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -24,6 +24,7 @@ cc_binary {
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
],
|
],
|
||||||
|
vendor: true,
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"liblog",
|
"liblog",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue