blob: ead9a16b185f1d974327a36af1fb7a1e2e653e9e [file] [log] [blame]
Alex Klyubinfce60d32017-01-05 12:27:10 -08001###
2### Untrusted apps.
3###
4### This file defines the rules for untrusted apps.
5### Apps are labeled based on mac_permissions.xml (maps signer and
6### optionally package name to seinfo value) and seapp_contexts (maps UID
7### and optionally seinfo value to domain for process and type for data
8### directory). The untrusted_app domain is the default assignment in
9### seapp_contexts for any app with UID between APP_AID (10000)
10### and AID_ISOLATED_START (99000) if the app has no specific seinfo
11### value as determined from mac_permissions.xml. In current AOSP, this
12### domain is assigned to all non-system apps as well as to any system apps
13### that are not signed by the platform key. To move
14### a system app into a specific domain, add a signer entry for it to
15### mac_permissions.xml and assign it one of the pre-existing seinfo values
16### or define and use a new seinfo value in both mac_permissions.xml and
17### seapp_contexts.
18###
19
dcashman3e8dbf02016-12-08 11:23:34 -080020app_domain(untrusted_app)
Jeff Vander Stoepbacb6d72017-02-13 13:33:27 -080021untrusted_app_domain(untrusted_app)
Alex Klyubinfce60d32017-01-05 12:27:10 -080022net_domain(untrusted_app)
23bluetooth_domain(untrusted_app)