Skip to content
Snippets Groups Projects
Commit 00020b8e authored by Daichi Hirono's avatar Daichi Hirono Committed by android-build-merger
Browse files

Allow apps to search appfuse mount point and open a file on appfuse mount point.

am: 4c7044e0

Change-Id: Ifd25505c9c2f679b5ace565f9b26e681c54572e6
parents 5fa5ffe1 4c7044e0
No related branches found
No related tags found
No related merge requests found
...@@ -249,7 +249,8 @@ allow { appdomain -isolated_app } hal_graphics_allocator:fd use; ...@@ -249,7 +249,8 @@ allow { appdomain -isolated_app } hal_graphics_allocator:fd use;
allow appdomain proc_meminfo:file r_file_perms; allow appdomain proc_meminfo:file r_file_perms;
# For app fuse. # For app fuse.
allow appdomain app_fuse_file:file { getattr read append write }; allow appdomain app_fuse_file:dir rw_dir_perms;
allow appdomain app_fuse_file:file rw_file_perms;
### ###
### CTS-specific rules ### CTS-specific rules
......
...@@ -79,8 +79,6 @@ allow priv_app exec_type:file { getattr read open }; ...@@ -79,8 +79,6 @@ allow priv_app exec_type:file { getattr read open };
# For AppFuse. # For AppFuse.
allow priv_app vold:fd use; allow priv_app vold:fd use;
allow priv_app fuse_device:chr_file { read write }; allow priv_app fuse_device:chr_file { read write };
allow priv_app app_fuse_file:dir rw_dir_perms;
allow priv_app app_fuse_file:file rw_file_perms;
# /sys and /proc access # /sys and /proc access
r_dir_file(priv_app, sysfs_type) r_dir_file(priv_app, sysfs_type)
......
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