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: I3ff6258f9370b59329f25a3f1275777243bc4bb1
This commit is contained in:
parent
d81adfa058
commit
9c20d62b3d
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