Create sepolicy for Pixel System Service
Having the dedicated domain for Pixel System Service instead of using platform_app. Test: m Bug: 274749278 Change-Id: I852fc46a3b811925e3a75e71a3579b58898045f9
This commit is contained in:
parent
d5df962202
commit
2f4d29bcea
5
pixelsystemservice/pixelsystemservice.mk
Normal file
5
pixelsystemservice/pixelsystemservice.mk
Normal file
@ -0,0 +1,5 @@
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google/apps/PersistentBackgroundServices
|
||||
PRODUCT_PACKAGES += \
|
||||
PersistentBackgroundServices
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/pixelsystemservice/sepolicy
|
6
pixelsystemservice/sepolicy/pixelsystemservice_app.te
Normal file
6
pixelsystemservice/sepolicy/pixelsystemservice_app.te
Normal file
@ -0,0 +1,6 @@
|
||||
type pixelsystemservice_app, domain, coredomain;
|
||||
|
||||
app_domain(pixelsystemservice_app);
|
||||
|
||||
# Standard system services
|
||||
allow pixelsystemservice_app app_api_service:service_manager find;
|
2
pixelsystemservice/sepolicy/seapp_contexts
Normal file
2
pixelsystemservice/sepolicy/seapp_contexts
Normal file
@ -0,0 +1,2 @@
|
||||
# Pixel System Service
|
||||
user=_app seinfo=platform name=com.google.android.pixelsystemservice domain=pixelsystemservice_app type=app_data_file levelFrom=all
|
Loading…
x
Reference in New Issue
Block a user