Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
1d0b8739
Commit
1d0b8739
authored
Aug 05, 2022
by
石松洲
Committed by
John Wu
Aug 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sepolicy `attribute` rule parsing
Fix #6166
parent
d449f49d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
statement.cpp
native/src/sepolicy/statement.cpp
+1
-1
No files found.
native/src/sepolicy/statement.cpp
View file @
1d0b8739
...
@@ -227,7 +227,7 @@ static bool parse_pattern_6(const Func &fn, const char *action, char *stmt) {
...
@@ -227,7 +227,7 @@ static bool parse_pattern_6(const Func &fn, const char *action, char *stmt) {
parsed_tokens
arr
;
parsed_tokens
arr
;
if
(
!
tokenize_and_check
<
1
,
0
>
(
stmt
,
arr
))
if
(
!
tokenize_and_check
<
1
,
0
>
(
stmt
,
arr
))
return
false
;
return
false
;
run_fn
(
arr
[
0
][
1
]);
run_fn
(
arr
[
0
][
0
]);
return
true
;
return
true
;
}
}
...
...
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