Add fastbootd to the sys_rawio whitelist.
A similar problem was previously encountered with the boot control HAL
in bug 118011561. The HAL may need access to emmc to implement
set_active commands.
fastbootd uses the boot control HAL in passthru mode when in recovery,
so by extension, it needs this exception as well.
Bug: 140367894
Test: fastbootd can use sys_rawio
Change-Id: I1040e314a58eae8a516a2e999e9d4e2aa51786e7
(cherry picked from commit 74affd1403
)
Bug: 144659183
This commit is contained in:
parent
4561fcb76c
commit
03b5fb7f46
1 changed files with 1 additions and 0 deletions
|
@ -312,4 +312,5 @@ neverallow {
|
|||
-uncrypt
|
||||
-tee
|
||||
-hal_bootctl_server
|
||||
-fastbootd
|
||||
} self:global_capability_class_set sys_rawio;
|
||||
|
|
Loading…
Reference in a new issue