diff --git a/whitechapel_pro/hal_fastboot_default.te b/whitechapel_pro/hal_fastboot_default.te index 134f4302..396120e2 100644 --- a/whitechapel_pro/hal_fastboot_default.te +++ b/whitechapel_pro/hal_fastboot_default.te @@ -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 };