Move coredomain seapp contexts to system_ext
Coredomain apps shouldn't be labeled with vendor sepolicy, due to Treble violation. Bug: 280547417 Test: TH Change-Id: Ib8d191a6c07278b51eec88cd8142adf6c1a45668
This commit is contained in:
parent
2d7bfbbf4d
commit
8f14aa12a1
13 changed files with 61 additions and 60 deletions
11
system_ext/private/pixeldisplayservice_app.te
Normal file
11
system_ext/private/pixeldisplayservice_app.te
Normal file
|
@ -0,0 +1,11 @@
|
|||
typeattribute pixeldisplayservice_app coredomain;
|
||||
|
||||
app_domain(pixeldisplayservice_app);
|
||||
|
||||
allow pixeldisplayservice_app proc_vendor_sched:dir r_dir_perms;
|
||||
allow pixeldisplayservice_app proc_vendor_sched:file w_file_perms;
|
||||
|
||||
# Standard system services
|
||||
allow pixeldisplayservice_app app_api_service:service_manager find;
|
||||
|
||||
allow pixeldisplayservice_app cameraserver_service:service_manager find;
|
|
@ -1,3 +1,6 @@
|
|||
# SystemUI
|
||||
user=_app seinfo=platform name=com.android.systemui domain=systemui_app type=app_data_file levelFrom=all
|
||||
user=_app seinfo=platform name=com.android.systemui:* domain=systemui_app type=app_data_file levelFrom=all
|
||||
|
||||
# PixelDisplayService
|
||||
user=_app seinfo=platform name=com.android.pixeldisplayservice domain=pixeldisplayservice_app type=app_data_file levelFrom=all
|
||||
|
|
1
system_ext/public/pixeldisplayservice_app.te
Normal file
1
system_ext/public/pixeldisplayservice_app.te
Normal file
|
@ -0,0 +1 @@
|
|||
type pixeldisplayservice_app, domain;
|
Loading…
Add table
Add a link
Reference in a new issue