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

Android.mk

  • Alex Klyubin's avatar
    9d59041f
    Correct location of property_contexts for TREBLE devices · 9d59041f
    Alex Klyubin authored
    This makes the build system, for TREBLE devices only, place
    plat_property_contexts under /system/etc/selinux and
    nonplat_property_contexts under /vendor/etc/selinux. For other devices
    these files are placed under /, same as before.
    
    This change was previously reverted because it affected the location
    of property_contexts in recovery. Now that we have separate tagets for
    recovery (see ec78c377), this change
    no longer affects is recovery.
    
    Test: *_property_contexts in correct locations when
          PRODUCT_FULL_TREBLE is set to true and when it is set to false.
    
    Test: cts-tradefed run singleCommand cts --skip-device-info \
          --skip-preconditions --skip-connectivity-check \
          --abi arm64-v8a --module CtsSecurityHostTestCases \
          -t android.security.cts.SELinuxHostTest#testAospPropertyContexts
    
          This test was performed on bullhead (non A/B device) and sailfish
          (A/B device).
    
    Test: Clean build, flash, device boots with no additional denials.
          Rebooting to recovery, recovery boots fine with no denials.
          This test was performed on bullhead (non A/B device) and sailfish
          (A/B device).
    Bug: 36002573
    
    (cherry picked from commit 4cb628a3)
    
    Change-Id: I0b145c58669fb31bc39d57f36eef1190425a8328
    9d59041f
    History
    Correct location of property_contexts for TREBLE devices
    Alex Klyubin authored
    This makes the build system, for TREBLE devices only, place
    plat_property_contexts under /system/etc/selinux and
    nonplat_property_contexts under /vendor/etc/selinux. For other devices
    these files are placed under /, same as before.
    
    This change was previously reverted because it affected the location
    of property_contexts in recovery. Now that we have separate tagets for
    recovery (see ec78c377), this change
    no longer affects is recovery.
    
    Test: *_property_contexts in correct locations when
          PRODUCT_FULL_TREBLE is set to true and when it is set to false.
    
    Test: cts-tradefed run singleCommand cts --skip-device-info \
          --skip-preconditions --skip-connectivity-check \
          --abi arm64-v8a --module CtsSecurityHostTestCases \
          -t android.security.cts.SELinuxHostTest#testAospPropertyContexts
    
          This test was performed on bullhead (non A/B device) and sailfish
          (A/B device).
    
    Test: Clean build, flash, device boots with no additional denials.
          Rebooting to recovery, recovery boots fine with no denials.
          This test was performed on bullhead (non A/B device) and sailfish
          (A/B device).
    Bug: 36002573
    
    (cherry picked from commit 4cb628a3)
    
    Change-Id: I0b145c58669fb31bc39d57f36eef1190425a8328