8fc7981885
Before, it was possible to access a hwservice without declaring that you were a client. This introduces the following macro: hal_attribute_hwservice_client(hal_foo, hal_foo_hwservice) which makes sure the above implication holds using a neverallow rule. Bug: 80319537 Test: boot + sanity Change-Id: Iededae68f14f0f3bd412c1205aa3b650a54d55c6
8 lines
331 B
Text
8 lines
331 B
Text
# HwBinder IPC from client to server, and callbacks
|
|
binder_call(hal_bootctl_client, hal_bootctl_server)
|
|
binder_call(hal_bootctl_server, hal_bootctl_client)
|
|
|
|
add_hwservice(hal_bootctl_server, hal_bootctl_hwservice)
|
|
hal_attribute_hwservice_client(hal_bootctl, hal_bootctl_hwservice)
|
|
|
|
dontaudit hal_bootctl self:capability sys_rawio;
|