Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
ba5fc8e5
Commit
ba5fc8e5
authored
12 years ago
by
Alex Klyubin
Browse files
Options
Download
Email Patches
Plain Diff
sepgrep -- function to grep SELinux policy files.
Change-Id: Ib86a124296ecbc2b2ce9a0323c40c85ceb6cd466
parent
b4314f15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
envsetup.sh
envsetup.sh
+5
-0
No files found.
envsetup.sh
View file @
ba5fc8e5
...
...
@@ -882,6 +882,11 @@ function mangrep()
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
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment