Merge "Enforce fastbootd" into udc-d1-dev

This commit is contained in:
Treehugger Robot 2023-05-02 04:54:37 +00:00 committed by Android (Google) Code Review
commit 470eda92e4
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +0,0 @@
# b/264489957
userdebug_or_eng(`
permissive fastbootd;
')

6
vendor/fastbootd.te vendored Normal file
View file

@ -0,0 +1,6 @@
recovery_only(`
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 st54spi_device:chr_file rw_file_perms;
')