2017-01-05 21:27:10 +01:00
|
|
|
###
|
|
|
|
### Untrusted apps.
|
|
|
|
###
|
2020-01-20 10:14:48 +01:00
|
|
|
### This file defines the rules for untrusted apps running with
|
2023-01-18 08:52:43 +01:00
|
|
|
### targetSdkVersion >= 34.
|
2020-01-20 10:14:48 +01:00
|
|
|
###
|
|
|
|
### See public/untrusted_app.te for more information about which apps are
|
|
|
|
### placed in this selinux domain.
|
2017-01-05 21:27:10 +01:00
|
|
|
###
|
|
|
|
|
2017-03-23 22:27:32 +01:00
|
|
|
typeattribute untrusted_app coredomain;
|
|
|
|
|
2016-12-08 20:23:34 +01:00
|
|
|
app_domain(untrusted_app)
|
2017-02-13 22:33:27 +01:00
|
|
|
untrusted_app_domain(untrusted_app)
|
2017-01-05 21:27:10 +01:00
|
|
|
net_domain(untrusted_app)
|
|
|
|
bluetooth_domain(untrusted_app)
|
2022-05-05 16:03:47 +02:00
|
|
|
|
|
|
|
# Allow webview to access fd shared by sdksandbox for experiments data
|
|
|
|
# TODO(b/229249719): Will not be supported in Android U
|
|
|
|
allow untrusted_app sdk_sandbox_data_file:fd use;
|
|
|
|
allow untrusted_app sdk_sandbox_data_file:file write;
|
|
|
|
|
2023-01-18 08:52:43 +01:00
|
|
|
neverallow untrusted_app sdk_sandbox_data_file:file { open create };
|