Skip to content
Snippets Groups Projects
Commit 061f254d authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Define security labeling for isolated processes.


Used when an app service is declared with android:isolatedProcess="true".
Place such processes in a separate domain, and further isolate them
from each other via categories.

Change-Id: I1d64f8278f0619eedb448f9a741f1d2c31985325
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 66a3e8d9
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,10 @@ bluetooth_domain(release_app) ...@@ -67,6 +67,10 @@ bluetooth_domain(release_app)
# Read logs. # Read logs.
allow release_app log_device:chr_file read; allow release_app log_device:chr_file read;
# Services with isolatedProcess=true in their manifest.
type isolated_app, domain;
app_domain(isolated_app)
# #
# An example of a specific domain for a specific app # An example of a specific domain for a specific app
# A domain for com.android.browser. # A domain for com.android.browser.
......
...@@ -39,3 +39,4 @@ user=app_* seinfo=shared domain=shared_app type=platform_app_data_file ...@@ -39,3 +39,4 @@ user=app_* seinfo=shared domain=shared_app type=platform_app_data_file
user=app_* seinfo=media domain=media_app type=platform_app_data_file user=app_* seinfo=media domain=media_app type=platform_app_data_file
user=app_* seinfo=release domain=release_app type=platform_app_data_file user=app_* seinfo=release domain=release_app type=platform_app_data_file
user=app_* seinfo=release name=com.android.browser domain=browser_app type=platform_app_data_file user=app_* seinfo=release name=com.android.browser domain=browser_app type=platform_app_data_file
user=isolated domain=isolated_app levelFromUid=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment