"README.md" did not exist on "6b069c651d99043141a8fc7a139deeca68304c5a"
Newer
Older
#
# Domains for apps that do not run with one of the predefined
# platform UIDs (system, radio, nfc, ...).
#
#
# Apps signed with the platform key.
type platform_app, domain;
app_domain(platform_app)

Stephen Smalley
committed
platform_app_domain(platform_app)
net_domain(platform_app)
bluetooth_domain(platform_app)
# Apps signed with the media key.
type media_app, domain;
app_domain(media_app)

Stephen Smalley
committed
platform_app_domain(media_app)
# Access the network.
net_domain(media_app)
relabelto_domain(media_app)
allow media_app download_file:dir relabelto;

Stephen Smalley
committed
# Apps signed with the shared key.
type shared_app, domain;
app_domain(shared_app)

Stephen Smalley
committed
platform_app_domain(shared_app)
# Access the network.
net_domain(shared_app)
# Access bluetooth.
bluetooth_domain(shared_app)
# Apps signed with the release key (testkey in AOSP).
type release_app, domain;
app_domain(release_app)

Stephen Smalley
committed
platform_app_domain(release_app)
# Access the network.
net_domain(release_app)
# Access bluetooth.
bluetooth_domain(release_app)
# Services with isolatedProcess=true in their manifest.

Joshua Brindle
committed
# In order for isolated_apps to interact with apps that have levelFromUid=true
# set it must be an mlstrustedsubject.
type isolated_app, domain, mlstrustedsubject;
app_domain(isolated_app)
#
# Untrusted apps.
#
type untrusted_app, domain;
net_domain(untrusted_app)
bluetooth_domain(untrusted_app)