Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

file_contexts_asan

  • Vishwath Mohan's avatar
    33ebdda8
    Refactor sanitized library on-disk layout - SELinux. · 33ebdda8
    Vishwath Mohan authored
    This CL changes the policy for ASAN files on-disk to support the
    changes made by the following CLs -
    https://android-review.googlesource.com/#/c/359087/
    https://android-review.googlesource.com/#/c/359389/
    
    which refactor the on-disk layout of sanitized libraries in the following
    manner -
    /data/lib* --> /data/asan/system/lib*
    /data/vendor/* --> /data/asan/vendor/*
    
    There are a couple of advantages to this, including better isolation
    from other components, and more transparent linker renaming and
    SELinux policies.
    
    Bug: 36574794
    Bug: 36674745
    Test: m -j40 && SANITIZE_TARGET="address" m -j40 and the device
    boots. All sanitized libraries are correctly located in /data/asan/*,
    and have the right SELinux permissions.
    
    Change-Id: Ib08e360cecc8d77754a768a9af0f7db35d6921a9
    33ebdda8
    History
    Refactor sanitized library on-disk layout - SELinux.
    Vishwath Mohan authored
    This CL changes the policy for ASAN files on-disk to support the
    changes made by the following CLs -
    https://android-review.googlesource.com/#/c/359087/
    https://android-review.googlesource.com/#/c/359389/
    
    which refactor the on-disk layout of sanitized libraries in the following
    manner -
    /data/lib* --> /data/asan/system/lib*
    /data/vendor/* --> /data/asan/vendor/*
    
    There are a couple of advantages to this, including better isolation
    from other components, and more transparent linker renaming and
    SELinux policies.
    
    Bug: 36574794
    Bug: 36674745
    Test: m -j40 && SANITIZE_TARGET="address" m -j40 and the device
    boots. All sanitized libraries are correctly located in /data/asan/*,
    and have the right SELinux permissions.
    
    Change-Id: Ib08e360cecc8d77754a768a9af0f7db35d6921a9