Skip to content
Snippets Groups Projects
Commit 0f3c37ae authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by Android (Google) Code Review
Browse files

Merge "Allow shell and adbd access to media_rw_data_file for now." into nyc-dev

parents 4056af81 bb90999e
No related branches found
No related tags found
No related merge requests found
...@@ -100,3 +100,7 @@ allow adbd storage_file:dir r_dir_perms; ...@@ -100,3 +100,7 @@ allow adbd storage_file:dir r_dir_perms;
allow adbd storage_file:lnk_file r_file_perms; allow adbd storage_file:lnk_file r_file_perms;
allow adbd mnt_user_file:dir r_dir_perms; allow adbd mnt_user_file:dir r_dir_perms;
allow adbd mnt_user_file:lnk_file r_file_perms; allow adbd mnt_user_file:lnk_file r_file_perms;
# Access to /data/media.
allow adbd media_rw_data_file:dir create_dir_perms;
allow adbd media_rw_data_file:file create_file_perms;
...@@ -122,6 +122,10 @@ allow shell sysfs:dir r_dir_perms; ...@@ -122,6 +122,10 @@ allow shell sysfs:dir r_dir_perms;
# Allow access to ion memory allocation device. # Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms; allow shell ion_device:chr_file rw_file_perms;
# Access to /data/media.
allow shell media_rw_data_file:dir create_dir_perms;
allow shell media_rw_data_file:file create_file_perms;
### ###
### Neverallow rules ### Neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment