untrusted_app: remove mtp_device perms

No longer necessary after android.process.media moved to the
priv_app domain. Verified no new denials via audit2allow rule.

Bug: 25085347
Change-Id: I2d9498d5d92e79ddabd002b4a5c6f918e1eb9bcc
This commit is contained in:
Jeff Vander Stoep 2016-01-06 09:02:12 -08:00 committed by Jeffrey Vander Stoep
parent f02db47bc2
commit 956ca4c504

View file

@ -59,13 +59,6 @@ allow untrusted_app system_app_data_file:file { read write getattr };
# This includes what used to be media_app, shared_app, and release_app.
#
# 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;
allow untrusted_app media_rw_data_file:file create_file_perms;