Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
f07d3bc9
Commit
f07d3bc9
authored
Nov 20, 2014
by
Narayan Kamath
Committed by
Android Git Automerger
Nov 20, 2014
Browse files
Options
Downloads
Plain Diff
am
f639e96b
: Undo idiotic build fix.
* commit '
f639e96b
': Undo idiotic build fix.
parents
b068d357
f639e96b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/sepolicy-analyze/neverallow.c
+2
-2
2 additions, 2 deletions
tools/sepolicy-analyze/neverallow.c
tools/sepolicy-analyze/typecmp.c
+0
-7
0 additions, 7 deletions
tools/sepolicy-analyze/typecmp.c
with
2 additions
and
9 deletions
tools/sepolicy-analyze/neverallow.c
+
2
−
2
View file @
f07d3bc9
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#include
"neverallow.h"
#include
"neverallow.h"
int
debug
;
static
int
debug
;
int
warn
;
static
int
warn
;
void
neverallow_usage
()
{
void
neverallow_usage
()
{
fprintf
(
stderr
,
"
\t
neverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]
\n
"
);
fprintf
(
stderr
,
"
\t
neverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
tools/sepolicy-analyze/typecmp.c
+
0
−
7
View file @
f07d3bc9
...
@@ -264,10 +264,6 @@ static int analyze_types(policydb_t * policydb, char diff, char equiv)
...
@@ -264,10 +264,6 @@ static int analyze_types(policydb_t * policydb, char diff, char equiv)
return
0
;
return
0
;
}
}
// defined in neverallow.c
extern
int
warn
;
extern
int
debug
;
int
typecmp_func
(
int
argc
,
char
**
argv
,
policydb_t
*
policydb
)
{
int
typecmp_func
(
int
argc
,
char
**
argv
,
policydb_t
*
policydb
)
{
char
ch
,
diff
=
0
,
equiv
=
0
;
char
ch
,
diff
=
0
,
equiv
=
0
;
...
@@ -286,10 +282,7 @@ int typecmp_func (int argc, char **argv, policydb_t *policydb) {
...
@@ -286,10 +282,7 @@ int typecmp_func (int argc, char **argv, policydb_t *policydb) {
equiv
=
1
;
equiv
=
1
;
break
;
break
;
case
'w'
:
case
'w'
:
warn
=
1
;
break
;
case
'z'
:
case
'z'
:
debug
=
1
;
break
;
break
;
default:
default:
USAGE_ERROR
=
true
;
USAGE_ERROR
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment