Add fastboot sepolicy changes to allow wiping of device am: 89f5fff668
am: 6f2812426a
Original change: https://android-review.googlesource.com/c/device/google/gs201-sepolicy/+/2316638 Change-Id: I129d2a7ab2effbcb93b15a21b539da1e11b8861f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
537b43c395
1 changed files with 7 additions and 1 deletions
|
@ -15,4 +15,10 @@ allow hal_fastboot_default sysfs_leds:dir search;
|
|||
allow hal_fastboot_default sysfs_leds:file rw_file_perms;
|
||||
allow hal_fastboot_default sysfs_leds:lnk_file read;
|
||||
|
||||
allow hal_fastboot_default citadel_device:chr_file getattr;
|
||||
#for fastboot -w (wiping device)
|
||||
allow hal_fastboot_default citadel_device:chr_file { rw_file_perms };
|
||||
allow hal_fastboot_default proc_bootconfig:file { rw_file_perms };
|
||||
allow hal_fastboot_default proc_cmdline:file { rw_file_perms };
|
||||
allow hal_fastboot_default st54spi_device:chr_file { rw_file_perms };
|
||||
allow hal_fastboot_default metadata_block_device:blk_file { rw_file_perms };
|
||||
allowxperm hal_fastboot_default metadata_block_device:blk_file ioctl { BLKSECDISCARD BLKDISCARD };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue