343e24a1be
For sanity, this makes 'hal_attribute_hwservice_client' be associated with a specific hwservice thus making things consistent. After this change, only configstore, hal_allocator, and the fwk_* services are inconsistent with all other HALs. Bug: 80319537 Test: boot device, sanity tests, check for denials Change-Id: Ibffc65c9567a429e07a3dc4dd41117738459dc2a
10 lines
470 B
Text
10 lines
470 B
Text
# HwBinder IPC from client to server, and callbacks
|
|
binder_call(hal_dumpstate_client, hal_dumpstate_server)
|
|
binder_call(hal_dumpstate_server, hal_dumpstate_client)
|
|
|
|
hal_attribute_hwservice_client(hal_dumpstate, hal_dumpstate_hwservice)
|
|
|
|
# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport
|
|
allow hal_dumpstate shell_data_file:file write;
|
|
# allow reading /proc/interrupts for all hal impls
|
|
allow hal_dumpstate proc_interrupts:file r_file_perms;
|