2013-07-13 01:33:29 +02:00
|
|
|
###
|
|
|
|
### Apps signed with the media key.
|
|
|
|
###
|
|
|
|
|
|
|
|
type media_app, domain;
|
|
|
|
app_domain(media_app)
|
|
|
|
platform_app_domain(media_app)
|
2014-01-11 08:05:25 +01:00
|
|
|
binder_service(media_app)
|
2013-07-13 01:33:29 +02:00
|
|
|
# Access the network.
|
|
|
|
net_domain(media_app)
|
2013-10-23 19:12:55 +02:00
|
|
|
# Access /dev/mtp_usb.
|
|
|
|
allow media_app mtp_device:chr_file rw_file_perms;
|
|
|
|
# Stat /cache/backup
|
|
|
|
allow media_app cache_backup_file:file getattr;
|
|
|
|
allow media_app cache_backup_file:dir getattr;
|
2014-03-06 22:03:48 +01:00
|
|
|
|
|
|
|
# inherits from platformappdomain.te
|