Skip to content
Snippets Groups Projects
  • Steven Moreland's avatar
    hal_attribute_hwservice_client drop '_client' · 9234e00d
    Steven Moreland authored
    Since this attribute just associates a hal_attribute
    with a given hwservice in the standard way.
    
    Bug: 80319537
    Test: boot + sanity + test for denials
    Change-Id: I545de165515387317e6920ce8f5e8c491f9ab24e
    9234e00d
hal_dumpstate.te 463 B
# 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(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;