Skip to content
Snippets Groups Projects
Commit 72e69f5e authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Restore /mnt/sdcard symlink read access

am: e3151bd1

* commit 'e3151bd1':
  Restore /mnt/sdcard symlink read access

Change-Id: I844e97c762aff92f6fef7ddecac0c5ea54291426
parents 308e3c46 e3151bd1
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,8 @@ allow adbd shell_data_file:file create_file_perms; ...@@ -36,7 +36,8 @@ allow adbd shell_data_file:file create_file_perms;
# adb push/pull sdcard. # adb push/pull sdcard.
allow adbd tmpfs:dir search; allow adbd tmpfs:dir search;
allow adbd rootfs:lnk_file r_file_perms; allow adbd rootfs:lnk_file r_file_perms; # /sdcard symlink
allow adbd tmpfs:lnk_file r_file_perms; # /mnt/sdcard symlink
allow adbd sdcard_type:dir create_dir_perms; allow adbd sdcard_type:dir create_dir_perms;
allow adbd sdcard_type:file create_file_perms; allow adbd sdcard_type:file create_file_perms;
......
...@@ -33,8 +33,9 @@ allow appdomain cgroup:file rw_file_perms; ...@@ -33,8 +33,9 @@ allow appdomain cgroup:file rw_file_perms;
allow appdomain dalvikcache_data_file:dir { search getattr }; allow appdomain dalvikcache_data_file:dir { search getattr };
allow appdomain dalvikcache_data_file:file r_file_perms; allow appdomain dalvikcache_data_file:file r_file_perms;
# Read the /sdcard symlink # Read the /sdcard and /mnt/sdcard symlinks
allow appdomain rootfs:lnk_file r_file_perms; allow appdomain rootfs:lnk_file r_file_perms;
allow appdomain tmpfs:lnk_file r_file_perms;
# Search /storage/emulated tmpfs mount. # Search /storage/emulated tmpfs mount.
allow appdomain tmpfs:dir r_dir_perms; allow appdomain tmpfs:dir r_dir_perms;
......
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