Skip to content
Snippets Groups Projects
Commit 36c7f741 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Allow fastbootd to wipe userdata."

parents ac4b6478 f97026db
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,11 @@ recovery_only(`
allow fastbootd misc_block_device:blk_file rw_file_perms;
# Required to wipe userdata
allow fastbootd userdata_block_device:blk_file { w_file_perms getattr ioctl };
allowxperm fastbootd userdata_block_device:blk_file ioctl { BLKGETSIZE64 BLKSECDISCARD
BLKDISCARD };
allow fastbootd proc_cmdline:file r_file_perms;
allow fastbootd rootfs:dir r_dir_perms;
allow fastbootd sysfs_dt_firmware_android:file r_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment