Skip to content
Snippets Groups Projects
  • Pavel Maltsev's avatar
    8d7f5033
    Allow to use sockets from hal server for auto · 8d7f5033
    Pavel Maltsev authored
    Add an exemption to neverallow rule to use sockets from HAL servers only
    for automotive build
    
    Bug: 78901167
    Test: assign this attribute to hal_vehicle_default and try to open
    socket from HAL implementation
    Test: verify that new CTS test will fail for non-automotive build with
    this attribute buing used
    Test: make cts && cts-tradefed run singleCommand cts --skip-device-info
     --skip-preconditions --abi arm64-v8a --module CtsSecurityHostTestCases
     -t android.security.cts.SELinuxHostTest
    
    Merged-In: I27976443dad4fc5b7425c089512cac65bb54d6d9
    
    (cherry picked from commit 4cafae77)
    
    Change-Id: I58e25a0f86579073aa568379b10b6599212134c6
    8d7f5033
    History
    Allow to use sockets from hal server for auto
    Pavel Maltsev authored
    Add an exemption to neverallow rule to use sockets from HAL servers only
    for automotive build
    
    Bug: 78901167
    Test: assign this attribute to hal_vehicle_default and try to open
    socket from HAL implementation
    Test: verify that new CTS test will fail for non-automotive build with
    this attribute buing used
    Test: make cts && cts-tradefed run singleCommand cts --skip-device-info
     --skip-preconditions --abi arm64-v8a --module CtsSecurityHostTestCases
     -t android.security.cts.SELinuxHostTest
    
    Merged-In: I27976443dad4fc5b7425c089512cac65bb54d6d9
    
    (cherry picked from commit 4cafae77)
    
    Change-Id: I58e25a0f86579073aa568379b10b6599212134c6
hal_neverallows.te 2.28 KiB