Skip to content
Snippets Groups Projects
Commit 4c7044e0 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

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

Bug: 29970149
Test: None
Change-Id: I59f49f3bf20d93effde5e1a9a3c1ed64fbecb7a8
parent 41301ab7
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.
Please register or to comment