add hal_bootctl to white-list of sys_rawio
VtsHalBootV1_0Target test cases fail on a platform when executing boot control operation. The cases fail because of hal_bootctl has no sys_rawio permission to do storage IOCTL to switch boot slot. Bug: 118011561 Test: VtsHalBootV1_0Target can pass Change-Id: Idbbb9ea8b76fe62b2d4b71356cef7a07ad4de890
This commit is contained in:
parent
d41721bc41
commit
30c77c1695
@ -355,6 +355,7 @@ neverallow {
|
||||
-healthd
|
||||
-uncrypt
|
||||
-tee
|
||||
-hal_bootctl
|
||||
} self:global_capability_class_set sys_rawio;
|
||||
|
||||
# No process can map low memory (< CONFIG_LSM_MMAP_MIN_ADDR).
|
||||
|
@ -3,5 +3,3 @@ binder_call(hal_bootctl_client, hal_bootctl_server)
|
||||
binder_call(hal_bootctl_server, hal_bootctl_client)
|
||||
|
||||
hal_attribute_hwservice(hal_bootctl, hal_bootctl_hwservice)
|
||||
|
||||
dontaudit hal_bootctl self:global_capability_class_set sys_rawio;
|
||||
|
Loading…
Reference in New Issue
Block a user