Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
b068d357
Commit
b068d357
authored
Nov 20, 2014
by
Narayan Kamath
Committed by
Android Git Automerger
Nov 20, 2014
Browse files
Options
Downloads
Plain Diff
am
012dd734
: Fix build.
* commit '
012dd734
': Fix build.
parents
27ca061e
012dd734
Branches
Branches containing commit
No related tags found
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
+4
-0
4 additions, 0 deletions
tools/sepolicy-analyze/typecmp.c
with
6 additions
and
2 deletions
tools/sepolicy-analyze/neverallow.c
+
2
−
2
View file @
b068d357
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#include
"neverallow.h"
#include
"neverallow.h"
static
int
debug
;
int
debug
;
static
int
warn
;
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
+
4
−
0
View file @
b068d357
...
@@ -264,6 +264,10 @@ static int analyze_types(policydb_t * policydb, char diff, char equiv)
...
@@ -264,6 +264,10 @@ 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
;
...
...
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