sm8150-common: sepolicy: Label camera helper app
Change-Id: I733ace8aa5a3c78322265e8f91ac6c3d522b0ef8
This commit is contained in:
parent
119cc4d051
commit
da40640ef3
|
@ -163,6 +163,7 @@ VENDOR_SECURITY_PATCH := 2018-08-05
|
|||
# SELinux
|
||||
include device/qcom/sepolicy/sepolicy.mk
|
||||
|
||||
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(VENDOR_PATH)/sepolicy/private
|
||||
BOARD_SEPOLICY_DIRS += $(VENDOR_PATH)/sepolicy/vendor
|
||||
|
||||
# Soong namespaces
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
type camera_helper_app, domain;
|
||||
|
||||
app_domain(camera_helper_app)
|
||||
|
||||
# Allow camera_helper_app to find app_api_service
|
||||
allow camera_helper_app app_api_service:service_manager find;
|
||||
|
||||
# Allow camera_helper_app read and write /data/data subdirectory
|
||||
allow camera_helper_app system_app_data_file:dir create_dir_perms;
|
||||
allow camera_helper_app system_app_data_file:{ file lnk_file } create_file_perms;
|
|
@ -0,0 +1 @@
|
|||
user=system seinfo=platform name=org.lineageos.camera_helper domain=camera_helper_app type=system_app_data_file
|
Loading…
Reference in New Issue