audit untrusted_app access to mtp_device

am: 7b8f9f153e

* commit '7b8f9f153edf7c8bbefe3d472c86419d8048e5dd':
  audit untrusted_app access to mtp_device
This commit is contained in:
Jeff Vander Stoep 2015-10-23 18:05:09 +00:00 committed by android-build-merger
commit 775dda1fb3

View file

@ -60,7 +60,11 @@ allow untrusted_app system_app_data_file:file { read write getattr };
#
# Access /dev/mtp_usb.
# TODO android.process.media moved to priv_app domain. Does
# untrusted_app still require these permissions? Can "open"
# be removed?
allow untrusted_app mtp_device:chr_file rw_file_perms;
auditallow untrusted_app mtp_device:chr_file rw_file_perms;
# Access to /data/media.
allow untrusted_app media_rw_data_file:dir create_dir_perms;