summaryrefslogtreecommitdiff
path: root/sepolicy/whitechapel/vendor/google/fastbootd.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/whitechapel/vendor/google/fastbootd.te')
-rw-r--r--sepolicy/whitechapel/vendor/google/fastbootd.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/sepolicy/whitechapel/vendor/google/fastbootd.te b/sepolicy/whitechapel/vendor/google/fastbootd.te
new file mode 100644
index 00000000..e350e0f3
--- /dev/null
+++ b/sepolicy/whitechapel/vendor/google/fastbootd.te
@@ -0,0 +1,9 @@
+# Required by the bootcontrol HAL for the 'set_active' command.
+recovery_only(`
+allow fastbootd st54spi_device:chr_file rw_file_perms;
+allow fastbootd devinfo_block_device:blk_file rw_file_perms;
+allow fastbootd sda_block_device:blk_file rw_file_perms;
+allow fastbootd sysfs_ota:file rw_file_perms;
+allow fastbootd custom_ab_block_device:blk_file rw_file_perms;
+allow fastbootd citadel_device:chr_file rw_file_perms;
+')