Skip to content
Snippets Groups Projects
Commit e9fcce56 authored by Hridya Valsaraju's avatar Hridya Valsaraju
Browse files

Fastbootd does not require read access to system and boot partitions

Bug: 78793464
Test: fastboot flashall

Change-Id: I5b65b818dc43a01f90a38202e3a1b810fef70ca8
parent bedc4f17
Branches
No related tags found
No related merge requests found
......@@ -39,8 +39,12 @@ recovery_only(`
allow fastbootd dm_device:blk_file rw_file_perms;
allow fastbootd super_block_device:blk_file rw_file_perms;
allow fastbootd system_block_device:blk_file rw_file_perms;
allow fastbootd boot_block_device:blk_file rw_file_perms;
allow fastbootd system_block_device:blk_file { w_file_perms ioctl };
allowxperm fastbootd system_block_device:blk_file ioctl { BLKGETSIZE64 };
allow fastbootd boot_block_device:blk_file { w_file_perms ioctl };
allowxperm fastbootd boot_block_device:blk_file ioctl { BLKGETSIZE64 };
allow fastbootd misc_block_device:blk_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment