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
29877e71
Commit
29877e71
authored
Oct 20, 2016
by
William Roberts
Committed by
android-build-merger
Oct 20, 2016
Browse files
Options
Downloads
Plain Diff
Merge "check_seapp: correct output on invalid policy file"
am:
70d1d30e
Change-Id: I3c74c31807bacb557e65d14ea5ca834906f5a670
parents
9ec8d943
70d1d30e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/check_seapp.c
+1
-2
1 addition, 2 deletions
tools/check_seapp.c
with
1 addition
and
2 deletions
tools/check_seapp.c
+
1
−
2
View file @
29877e71
...
@@ -897,8 +897,7 @@ static void init() {
...
@@ -897,8 +897,7 @@ static void init() {
}
}
if
(
sepol_policydb_read
(
pol
.
db
,
pol
.
pf
)
<
0
)
{
if
(
sepol_policydb_read
(
pol
.
db
,
pol
.
pf
)
<
0
)
{
log_error
(
"Could not lod policy file to db: %s!
\n
"
,
log_error
(
"Could not load policy file to db: invalid input file!
\n
"
);
strerror
(
errno
));
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
}
}
}
}
...
...
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