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
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
f07d3bc9
Commit
f07d3bc9
authored
10 years ago
by
Narayan Kamath
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
f639e96b
: Undo idiotic build fix.
* commit '
f639e96b
': Undo idiotic build fix.
parents
b068d357
f639e96b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide 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 @@
#include
"neverallow.h"
int
debug
;
int
warn
;
static
int
debug
;
static
int
warn
;
void
neverallow_usage
()
{
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)
return
0
;
}
// defined in neverallow.c
extern
int
warn
;
extern
int
debug
;
int
typecmp_func
(
int
argc
,
char
**
argv
,
policydb_t
*
policydb
)
{
char
ch
,
diff
=
0
,
equiv
=
0
;
...
...
@@ -286,10 +282,7 @@ int typecmp_func (int argc, char **argv, policydb_t *policydb) {
equiv
=
1
;
break
;
case
'w'
:
warn
=
1
;
break
;
case
'z'
:
debug
=
1
;
break
;
default:
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