allow bootctl to read devinfo

Bug: 260522436
Change-Id: I41d2763ffe40d7465a11cc86612fed9f92905eff
This commit is contained in:
Wilson Sung 2023-02-16 15:54:30 +08:00
parent 6545bc156a
commit 967da5da4f
2 changed files with 1 additions and 3 deletions

View file

@ -1,6 +1,3 @@
# b/260522436
dontaudit hal_bootctl_default devinfo_block_device:blk_file { open };
dontaudit hal_bootctl_default devinfo_block_device:blk_file { read };
# b/264489609 # b/264489609
userdebug_or_eng(` userdebug_or_eng(`
permissive hal_bootctl_default; permissive hal_bootctl_default;

1
vendor/hal_bootctl_default.te vendored Normal file
View file

@ -0,0 +1 @@
allow hal_bootctl_default devinfo_block_device:blk_file r_file_perms;