Skip to content
Snippets Groups Projects
  • Alex Klyubin's avatar
    47174e3b
    Switch Dumpstate HAL policy to _client/_server · 47174e3b
    Alex Klyubin authored
    This switches Dumpstate HAL policy to the design which enables us to
    conditionally remove unnecessary rules from domains which are clients
    of Dumpstate HAL.
    
    Domains which are clients of Dumpstate HAL, such as dumpstate domain,
    are granted rules targeting hal_dumpstate only when the Dumpstate HAL
    runs in passthrough mode (i.e., inside the client's process). When the
    HAL runs in binderized mode (i.e., in another process/domain, with
    clients talking to the HAL over HwBinder IPC), rules targeting
    hal_dumpstate are not granted to client domains.
    
    Domains which offer a binderized implementation of Dumpstate HAL, such
    as hal_dumpstate_default domain, are always granted rules targeting
    hal_dumpstate.
    
    Test: adb bugreport
    Test: Take bugreport through system UI
    Bug: 34170079
    Change-Id: I3e827534af03cdfa876921c5fa4af3a53025ba27
    47174e3b
    History
    Switch Dumpstate HAL policy to _client/_server
    Alex Klyubin authored
    This switches Dumpstate HAL policy to the design which enables us to
    conditionally remove unnecessary rules from domains which are clients
    of Dumpstate HAL.
    
    Domains which are clients of Dumpstate HAL, such as dumpstate domain,
    are granted rules targeting hal_dumpstate only when the Dumpstate HAL
    runs in passthrough mode (i.e., inside the client's process). When the
    HAL runs in binderized mode (i.e., in another process/domain, with
    clients talking to the HAL over HwBinder IPC), rules targeting
    hal_dumpstate are not granted to client domains.
    
    Domains which offer a binderized implementation of Dumpstate HAL, such
    as hal_dumpstate_default domain, are always granted rules targeting
    hal_dumpstate.
    
    Test: adb bugreport
    Test: Take bugreport through system UI
    Bug: 34170079
    Change-Id: I3e827534af03cdfa876921c5fa4af3a53025ba27