Skip to content
Snippets Groups Projects
Commit 3acec6fa authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Allow sdcard daemon to run above expanded storage.

We have a /media directory on expanded storage that behaves just
like internal storage, and has a FUSE daemon running above it.

avc: denied { search } for name="expand" dev="tmpfs" ino=3130 scontext=u:r:sdcardd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

Bug: 19993667
Change-Id: I771ecb8f2808c48ccf4139ac9cfc2a48a2332fec
parent 03a6f64f
No related branches found
No related tags found
No related merge requests found
...@@ -28,3 +28,6 @@ allow sdcardd install_data_file:file r_file_perms; ...@@ -28,3 +28,6 @@ allow sdcardd install_data_file:file r_file_perms;
# Allow stdin/out back to vold # Allow stdin/out back to vold
allow sdcardd vold:fd use; allow sdcardd vold:fd use;
allow sdcardd vold:fifo_file { read write getattr }; allow sdcardd vold:fifo_file { read write getattr };
# Allow running on top of expanded storage
allow sdcardd mnt_expand_file:dir search;
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