2013-07-13 01:33:29 +02:00
|
|
|
###
|
|
|
|
### Apps signed with the release key (testkey in AOSP).
|
|
|
|
###
|
|
|
|
|
|
|
|
type release_app, domain;
|
2013-10-23 19:12:55 +02:00
|
|
|
permissive release_app;
|
2013-07-13 01:33:29 +02:00
|
|
|
app_domain(release_app)
|
|
|
|
platform_app_domain(release_app)
|
|
|
|
# Access the network.
|
|
|
|
net_domain(release_app)
|
|
|
|
# Access bluetooth.
|
|
|
|
bluetooth_domain(release_app)
|
2013-10-23 19:12:55 +02:00
|
|
|
|
|
|
|
# Write to /cache.
|
|
|
|
allow release_app cache_file:dir rw_dir_perms;
|
|
|
|
allow release_app cache_file:file create_file_perms;
|