blob: 6893acadae2b828f36add0df69717a376840a1ad [file] [log] [blame]
Bram Bonnéea5460a2021-05-12 14:19:24 +02001###
2### Untrusted apps.
3###
4### This file defines the rules for untrusted apps running with
5### 29 < targetSdkVersion <= 31.
6###
7### See public/untrusted_app.te for more information about which apps are
8### placed in this selinux domain.
9###
10### TODO(b/192334803): Merge this policy into untrusted_app_29 when possible
11###
12
13typeattribute untrusted_app_30 coredomain;
14
15app_domain(untrusted_app_30)
16untrusted_app_domain(untrusted_app_30)
17net_domain(untrusted_app_30)
18bluetooth_domain(untrusted_app_30)
19
20# allow sending RTM_GETNEIGH{TBL} messages.
21allow untrusted_app_30 self:netlink_route_socket nlmsg_getneigh;
22auditallow untrusted_app_30 self:netlink_route_socket nlmsg_getneigh;
Alessandra Lorod0e108f2022-07-14 11:52:21 +000023
24# Allow hidden build props
25get_prop(untrusted_app_30, userdebug_or_eng_prop)