1. 09 Dec, 2014 2 commits
  2. 05 Dec, 2014 1 commit
  3. 30 Sep, 2014 1 commit
  4. 29 Sep, 2014 1 commit
    • Nick Kralevich's avatar
      implement partial matching using PCRE · d0b768ab
      Nick Kralevich authored
      To speed up the boot process, Android doesn't visit every directory
      in /sys. Instead, only those directories which match a regular
      expression in /file_contexts are visited. Other directories are
      skipped. This results in 2-3 second boot time reduction.
      
      The initial version of this optimization was implemented in
      change 0e7340fb. However, because
      PCRE wasn't available, it was recognized that false positives and
      false negatives might occur.
      
      Now that PCRE is available, start using it. It will avoid the
      false positive / negatives problem.
      
      Bug: 17682157
      Change-Id: I94a109733b0c97a70f80c94fd0a980cb7cb5ca43
      d0b768ab
  5. 20 Sep, 2014 1 commit
  6. 15 Sep, 2014 1 commit
  7. 02 Sep, 2014 2 commits
  8. 07 Jul, 2014 3 commits
  9. 02 Jul, 2014 2 commits
  10. 01 Jul, 2014 1 commit
  11. 17 Jun, 2014 2 commits
  12. 16 Jun, 2014 1 commit
    • Stephen Smalley's avatar
      Extend label file backend to support label-by-symlink for ueventd. · be7f5e88
      Stephen Smalley authored
      
      When ueventd creates a device node, it may also create one or more
      symlinks to the device node.  These symlinks may be the only stable
      name for the device, e.g. if the partition is dynamically assigned.
      Extend the label file backend to support looking up the "best match"
      for a device node based on its real path (key) and any links to it
      (aliases).  The order of precedence for best match is:
      1) An exact match for the real path (key), or
      2) An exact match for any of the links (aliases), or
      3) The longest fixed prefix match.
      
      Change-Id: Id6c2597eee2b6723a5089dcf7c450f8d0a4128f4
      Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
      be7f5e88
  13. 12 Jun, 2014 3 commits
  14. 31 May, 2014 3 commits
  15. 30 May, 2014 1 commit
    • Robert Craig's avatar
      SELinux changes to check policy versions during a reload. · 5b5183f9
      Robert Craig authored
      
      New construct which validates /data/security/current/selinux_version
      against the base version file /selinux_version when policy
      overrides could occur. This change covers the cases where
      sepolicy, seapp_contexts and file_contexts under
      /data/security/current can be used to override their rootfs
      counterparts.
      
      Change-Id: I4716039bb0f5ba1e961977a18350347a67969dca
      Signed-off-by: default avatarrpcraig <rpcraig@tycho.ncsc.mil>
      5b5183f9
  16. 29 May, 2014 4 commits
  17. 28 May, 2014 4 commits
  18. 19 May, 2014 3 commits
  19. 17 May, 2014 1 commit
    • Nick Kralevich's avatar
      Ensure labeling of /data/data and /data/user · 4b130cc0
      Nick Kralevich authored
      On an upgrade, the *contents* of the /data/data and /data/user
      directories are not labeled by init, because their labels are
      managed by installd.
      
      However, the /data/data and /data/user directories themselves are
      never labeled, neither by init nor installd.
      
      On an upgrade from an Android 4.2 system, it's possible for these
      two directories to remain unlabeled, causing anything created
      within these directories to also be unlabeled.
      
      Make sure we label /data/data and /data/user (but not their contents)
      from init's restorecon_recursive.
      
      Change-Id: I65dcfa8e77a63cb61551a1010358f0e45956dbbf
      4b130cc0
  20. 05 May, 2014 3 commits