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
3cedab40
Commit
3cedab40
authored
Nov 4, 2013
by
Nick Kralevich
Committed by
Android Git Automerger
Nov 4, 2013
Browse files
Options
Downloads
Plain Diff
am
7316b18a
: README: recommend concatenation vs assignment
* commit '
7316b18a
': README: recommend concatenation vs assignment
parents
ed06d204
7316b18a
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
README
+6
-6
6 additions, 6 deletions
README
with
6 additions
and
6 deletions
README
+
6
−
6
View file @
3cedab40
...
...
@@ -24,7 +24,7 @@ used instead of the corresponding file in external/sepolicy.
BOARD_SEPOLICY_DIRS contains a list of directories to search
for BOARD_SEPOLICY_UNION and BOARD_SEPOLICY_REPLACE files. Order
matters in this list.
eg.) If you have BOARD_SEPOLICY_UNION
:
= widget.te and have 2
eg.) If you have BOARD_SEPOLICY_UNION
+
= widget.te and have 2
instances of widget.te files on BOARD_SEPOLICY_DIRS search path.
The first one found (at the first search dir containing the file)
gets processed first.
...
...
@@ -56,9 +56,9 @@ is useful if you have numerous config directories that contain a file
and you want to NOT include a particular file in your resulting
policy file, either by UNION or REPLACE.
Eg.) Suppose the following:
BOARD_SEPOLICY_DIRS
:
= X Y
BOARD_SEPOLICY_REPLACE
:
= A
BOARD_SEPOLICY_IGNORE
:
= X/A
BOARD_SEPOLICY_DIRS
+
= X Y
BOARD_SEPOLICY_REPLACE
+
= A
BOARD_SEPOLICY_IGNORE
+
= X/A
Directories X and Y contain A.
...
...
@@ -68,10 +68,10 @@ Eg.) Suppose the following:
Example BoardConfig.mk Usage:
From the Tuna device BoardConfig.mk, device/samsung/tuna/BoardConfig.mk
BOARD_SEPOLICY_DIRS
:
= \
BOARD_SEPOLICY_DIRS
+
= \
device/samsung/tuna/sepolicy
BOARD_SEPOLICY_UNION
:
= \
BOARD_SEPOLICY_UNION
+
= \
genfs_contexts \
file_contexts \
sepolicy.te
...
...
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