Skip to content
Snippets Groups Projects
Commit 93d849b6 authored by Doug Zongker's avatar Doug Zongker
Browse files

recovery: allow creating and reading fuse filesystems

The new sideloading mechanism in recovery needs to create a fuse
filesystem and read files from it.

Change-Id: I22e1f7175baf401d2b75c4be6673ae4b75a0ccbf
parent 4be31900
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,13 @@ recovery_only(`
# Use setfscreatecon() to label files for OTA updates.
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)
# 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.
Please register or to comment