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

Don't open appfuse files in apps. am: 7ae1d237 am: f702933a am: 4b7c1d52

am: 93f38cb5

Change-Id: Icbd77e282cf09ad1a55c377e6586cb7119edcab7
parents 50546335 93f38cb5
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,7 @@ allow { appdomain -isolated_app } hal_graphics_allocator:fd use;
allow appdomain proc_meminfo:file r_file_perms;
# For app fuse.
allow appdomain app_fuse_file:dir rw_dir_perms;
allow appdomain app_fuse_file:file rw_file_perms;
allow appdomain app_fuse_file:file { getattr read append write };
###
### CTS-specific rules
......
......@@ -560,6 +560,8 @@ userdebug_or_eng(`
# For AppFuse.
allow system_server vold:fd use;
allow system_server fuse_device:chr_file { read write ioctl getattr };
allow system_server app_fuse_file:dir rw_dir_perms;
allow system_server app_fuse_file:file { read write open getattr append };
# For configuring sdcardfs
allow system_server configfs:dir { create_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