Skip to content
Snippets Groups Projects
  1. May 18, 2018
    • Tom Cherry's avatar
      neverallow coredomain from writing vendor properties · cdb1624c
      Tom Cherry authored
      System properties can be abused to get around Treble requirements of
      having a clean system/vendor split.  This CL seeks to prevent that by
      neverallowing coredomain from writing vendor properties.
      
      Bug: 78598545
      Test: build 2017/2018 Pixels
      Test: build aosp_arm64
      Change-Id: I5e06894150ba121624d753228e550ba9b81f7677
      cdb1624c
  2. May 16, 2018
  3. May 14, 2018
    • Pavel Maltsev's avatar
      Allow to use sockets from hal server for auto · 4cafae77
      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
      
      Change-Id: I27976443dad4fc5b7425c089512cac65bb54d6d9
      4cafae77
    • Joel Galenson's avatar
      Allow vendor_init to getattr vold_metadata_file. · 597be44e
      Joel Galenson authored
      This relaxes the neverallow rule blocking vendor_init from doing
      anything to vold_metadata_file.  The rules above it still prevent it
      from doing anything other than relabelto and getattr.
      
      Bug: 79681561
      Test: Boot device and see no denials.
      Change-Id: I1beb25bb9f8d69323c9fee53a140c2a084b12124
      597be44e
    • Logan Chien's avatar
      Add ro.vndk.lite to property_contexts · 9f55f345
      Logan Chien authored
      Bug: 78605339
      Test: aosp_walleye-userdebug builds
      Change-Id: I37c84e20f2284d50cbe29bfa1b7597dd2c01fb4b
      9f55f345
  4. May 12, 2018
    • Calin Juravle's avatar
      Whitelist dalvik.vm.profilebootimage · 54fc209a
      Calin Juravle authored
      The property is set on builds which profile the boot image.
      
      Test: m
      Bug: 73313191
      
      (cherry-pick form commit d99f4acf)
      
      Merged-In: Ie0cd54f23250df02850c38bb14e92d4b1fa04f16
      Change-Id: Ie0cd54f23250df02850c38bb14e92d4b1fa04f16
      54fc209a
  5. May 09, 2018
    • Calin Juravle's avatar
      Allow system server to write profile snapshots in /data/misc/profman · 687d5e46
      Calin Juravle authored
      The goal is to allow creating profile snapshots from the shell command in
      order to be able to write CTS tests.
      
      The system server will dump profiles for debuggable in /data/misc/profman
      from where they will be pulled and verified by CTS tests.
      
      Test: adb shell cmd package snapshot-profile com.android.vending
      Bug: 74081010
      Change-Id: I54690305284b92c0e759538303cb98c93ce92dd5
      687d5e46
    • Mark Salyzyn's avatar
      FrameworksServicesTests: allow access to test.sys.boot.reason property · 1b748766
      Mark Salyzyn authored
      com.android.server.power.PowerManagerServiceTest#testGetLastShutdownReasonInternal due to "RuntimeException: failed to set system property"
      
      W/roidJUnitRunner: type=1400 audit(0.0:6): avc: denied { write } for name="property_service" dev="tmpfs" ino=13178 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
      W/libc    : Unable to set property "test.sys.boot.reason" to "shutdown,thermal": connection failed; errno=13 (Permission denied)
      
      Had to use precise property definition as com.android.phone accesses
      test properties as well.
      
      Test: compile
      Bug: 78245377
      Change-Id: I2cc810846f8615f2a2fae8e0d4f41de585b7abd7
      1b748766
  6. May 07, 2018
  7. May 03, 2018
  8. May 02, 2018
  9. May 01, 2018
  10. Apr 30, 2018
  11. Apr 13, 2018
    • Wale Ogunwale's avatar
      Finalizing P SDK · 49b79029
      Wale Ogunwale authored
      Bug: 77588754
      Test: builds
      Change-Id: I61ceb438cd532584847ddd55c0eeaefebdcfa51c
      49b79029
Loading