1. seandroid
  2. Untitled project
  3. build

Commits

Jeff Sharkey  committed 1d0608f Merge

Merge "sepgrep -- function to grep SELinux policy files."

  • Participants
  • Parent commits b4314f1, ba5fc8e
  • Branches master

Comments (0)

Files changed (1)

File envsetup.sh

View file
  • Ignore whitespace
     find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f -name 'AndroidManifest.xml' -print0 | xargs -0 grep --color -n "$@"
 }
 
+function sepgrep()
+{
+    find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -name sepolicy -type d -print0 | xargs -0 grep --color -n -r --exclude-dir=\.git "$@"
+}
+
 case `uname -s` in
     Darwin)
         function mgrep()