Skip to content
Snippets Groups Projects
Commit 9523f237 authored by Doug Zongker's avatar Doug Zongker Committed by Android Git Automerger
Browse files

am 93d849b6: recovery: allow creating and reading fuse filesystems

* commit '93d849b6':
  recovery: allow creating and reading fuse filesystems
parents b5a39ee1 93d849b6
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,13 @@ recovery_only(` ...@@ -83,6 +83,13 @@ recovery_only(`
# Use setfscreatecon() to label files for OTA updates. # Use setfscreatecon() to label files for OTA updates.
allow recovery self:process setfscreate; allow recovery self:process setfscreate;
# Allow recovery to create a fuse filesystem, and read files from
# it. (Note that all files on fuse filesystems are labeled
# "sdcard_internal"; the simulated SD card is the only other user of
# fuse.)
allow recovery fuse_device:chr_file rw_file_perms;
allow recovery sdcard_internal:file r_file_perms;
wakelock_use(recovery) wakelock_use(recovery)
# This line seems suspect, as it should not really need to # This line seems suspect, as it should not really need to
......
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