Skip to content
Snippets Groups Projects
  1. Apr 11, 2017
    • Sandeep Patil's avatar
      sepolicy: make exec_types in /vendor a subset of vendor_file_type · 2ee66e7d
      Sandeep Patil authored
      
      We install all default hal implementations in /vendor/bin/hw along with
      a few domains that are defined in vendor policy and installed in
      /vendor. These files MUST be a subset of the global 'vendor_file_type'
      which is used to address *all files installed in /vendor* throughout the
      policy.
      
      Bug: 36463595
      Test: Boot sailfish without any new denials
      
      Change-Id: I3d26778f9a26f9095f49d8ecc12f2ec9d2f4cb41
      Signed-off-by: default avatarSandeep Patil <sspatil@google.com>
      2ee66e7d
  2. Mar 30, 2017
    • Jiyong Park's avatar
      Annotate rild with socket_between_core_and_vendor_violators · 57e9946f
      Jiyong Park authored
      Full treble targets cannot have sockets between framework and vendor
      processes. In theory, this should not affect aosp_arm64_ab where only
      framework binaries are built. However, /system/sepolicy has rild.te
      which is now vendor binary and this causes neverallow conflict when
      building aosp_arm64_ab.
      
      So, we just temporarily annotate the rild with
      socket_between_core_and_vendor_violators so that the neverallow conflict
      can be avoided.
      
      Test: choosecombo 1 aosp_arm64_ab userdebug; m -j 80 The build should
      not break.
      
      Change-Id: I260757cde96857cc3f539d5f82ca69c50653f8c7
      57e9946f
  3. Feb 24, 2017
  4. Oct 06, 2016
    • dcashman's avatar
      Split general policy into public and private components. · cc39f637
      dcashman authored
      Divide policy into public and private components.  This is the first
      step in splitting the policy creation for platform and non-platform
      policies.  The policy in the public directory will be exported for use
      in non-platform policy creation.  Backwards compatibility with it will
      be achieved by converting the exported policy into attribute-based
      policy when included as part of the non-platform policy and a mapping
      file will be maintained to be included with the platform policy that
      maps exported attributes of previous versions to the current platform
      version.
      
      Eventually we would like to create a clear interface between the
      platform and non-platform device components so that the exported policy,
      and the need for attributes is minimal.  For now, almost all types and
      avrules are left in public.
      
      Test: Tested by building policy and running on device.
      
      Change-Id: Idef796c9ec169259787c3f9d8f423edf4ce27f8c
      cc39f637
Loading