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:
parent
f02db47bc2
commit
956ca4c504
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue