Skip to content
Snippets Groups Projects
  1. Jul 05, 2017
    • Jeff Vander Stoep's avatar
      Preserve attributes needed for CTS · bf8ed096
      Jeff Vander Stoep authored
      Change fb889f23 "Force expand all hal_* attributes" annotated all
      hal_* attributes to be expanded to their associated types. However
      some of these attributes are used in CTS for neverallow checking.
      Mark these attributes to be preserved.
      
      In addition, remove the hacky workaround introduced in oc-dev
      for b/62658302 where extraneous neverallow rules were introduced
      to prevent unused or negated attributes from being auto-expanded
      from policy.
      
      Bug: 62658302
      Bug: 63135903
      Test: cts-tradefed run cts -m CtsSecurityHostTestCases -t \
          android.cts.security.SELinuxNeverallowRulesTest
      
          armeabi-v7a CtsSecurityHostTestCases completed in 4s.
          501 passed, 0 failed, 0 not executed
      Change-Id: I989def70a16f66e7a18bef1191510793fbe9cb8c
      bf8ed096
    • TreeHugger Robot's avatar
      371a4375
    • TreeHugger Robot's avatar
    • TreeHugger Robot's avatar
    • Joel Galenson's avatar
      Simplify genfs labeling of tracefs. · 312c3800
      Joel Galenson authored
      The code used to look like this, but in commit
      4cae28d4 we replaced the generic
      regexes to improve performance.  Now that we've switched to genfs,
      this no longer affects performance, so let's simplify the labeling.
      
      Bug: 62413700
      Test: Built, flashed, and booted two devices.  Verified that all of
      the files have the correct context and that wifi, camera, and traceur
      work.
      
      Change-Id: I1a859d17075fa25543ee090cc7a7478391bc45c1
      312c3800
    • TreeHugger Robot's avatar
      e6b6fc3f
    • Joel Galenson's avatar
      Move file labeling to genfs_contexts. · cd3c5d35
      Joel Galenson authored
      This should slightly improve performance, as file_contexts is slower
      than genfs_contexts.
      
      Now that the kernel patch enabling genfs labeling of tracefs has
      landed, we can re-enable this.
      
      Bug: 62413700
      Test: Built, flashed, and booted two devices.  Verified that all of
      the files have the correct context and that wifi, camera, and traceur
      work.
      
      Change-Id: Ifc1c6ac634b94e060ed1f311049bd37f6fcc8313
      cd3c5d35
    • Jin Qian's avatar
      Revert "allow recovery to run mke2fs tools" · 0e479700
      Jin Qian authored
      This reverts commit 7e577318.
      0e479700
    • Dan Cashman's avatar
      Add compat changes for tracing_shell_writable removal. · 2e8cebe6
      Dan Cashman authored
      Commits 7fa51593 and
      92fdd895 removed the
      tracing_shell_writable and tracing_shell_writable_debug types, and
      relabeled the files with debugfs_tracing and debugfs_tracing_debug,
      respectively.  Record this in the compatibility file so that vendor
      policy using these types will still work.
      
      Bug: 62573845
      Test: None. Prebuilt change only.
      Change-Id: Ic6573518035514a86abe2081483431427612699e
      2e8cebe6
    • Dan Cashman's avatar
      Record netd_stable_secret_prop in compat infra. · ebea2b45
      Dan Cashman authored
      Commit: abb1ba65 added policy for a
      new property, which was not present in O.  This policy introduced a
      new type.  Record it as such.
      
      Bug: 62573845
      Test: None, prebuilt change only.
      Change-Id: I7d90cd69a5e6e29677598cc109676d5b1ce5ba05
      ebea2b45
    • Dan Cashman's avatar
      Map mediaprovider to priv_app in 26.0 compat mapping · 3eed3eac
      Dan Cashman authored
      Commit: bde5c801 added a new type,
      mediaprovider, which is being applied to an object (process) formerly
      labeled as priv_app. Add the new type to the versioned attribute for
      priv_app so that any vendor policy written for interaction with
      mediaprovider continues to work.
      
      Bug: 62573845
      Test: None.  Prebuilt-only change.
      Change-Id: Id98293369401a2af23c2328a1cb4a5bb2258aac8
      3eed3eac
    • Dan Cashman's avatar
      Record timezone_service in compat infra. · e78e8dcf
      Dan Cashman authored
      Commit: 50889ce0 added policy for a
      new service, which was not present in O.  This policy introduced a
      new type.  Record it as such.
      
      Bug: 62573845
      Test: None, prebuilt change only.
      Change-Id: If9cfaff813c47d3b1c8374e8abfb4aedb902d486
      e78e8dcf
    • Dan Cashman's avatar
      Record tombstoned_java_trace_socket in compat record. · b1c4967e
      Dan Cashman authored
      Commit: 11bfcc1e added policy for
      a new socket which was not present in O.  This socket has a new
      type associated with it.  Record the type as a new type so that
      compatibility testing will not complain.
      
      Bug: 62573845
      Test: None, prebuilt change only.
      Change-Id: I375fc9ca0bd201e277a0302d9b34c0da0eb40fbd
      b1c4967e
    • Dan Cashman's avatar
      Add compat changes for e2fs addition. · f875ee07
      Dan Cashman authored
      Commit 5f573ab2 added policy for
      the additions of upstream fs tools.  Make sure the new types are
      denoted as such (no object relabeling needs to be done) and that
      objects which are relabeled are.
      
      Bug: 35219933
      Bug: 62573845
      Test: None. Prebuilt change only.
      Change-Id: I6515e05ebc60ca08e98029f471cf2861826036fc
      f875ee07
  2. Jul 03, 2017
  3. Jul 01, 2017
Loading