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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
4fe3b0b9
Commit
4fe3b0b9
authored
7 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Move non-treble devices to split file_contexts am:
f965a0a1
am:
2703f3ee
Change-Id: I2130641f315522740c150f4a22f8a4fe20a9a085
parents
b3d4fc14
2703f3ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Android.mk
+14
-5
14 additions, 5 deletions
Android.mk
private/file_contexts
+0
-1
0 additions, 1 deletion
private/file_contexts
with
14 additions
and
6 deletions
Android.mk
+
14
−
5
View file @
4fe3b0b9
...
@@ -190,8 +190,6 @@ LOCAL_REQUIRED_MODULES += \
...
@@ -190,8 +190,6 @@ LOCAL_REQUIRED_MODULES += \
plat_sepolicy.cil
\
plat_sepolicy.cil
\
plat_and_mapping_sepolicy.cil.sha256
\
plat_and_mapping_sepolicy.cil.sha256
\
secilc
\
secilc
\
nonplat_file_contexts
\
plat_file_contexts
\
plat_sepolicy_vers.txt
\
plat_sepolicy_vers.txt
\
treble_sepolicy_tests
treble_sepolicy_tests
...
@@ -199,12 +197,15 @@ LOCAL_REQUIRED_MODULES += \
...
@@ -199,12 +197,15 @@ LOCAL_REQUIRED_MODULES += \
ifneq
($(PRODUCT_PRECOMPILED_SEPOLICY),false)
ifneq
($(PRODUCT_PRECOMPILED_SEPOLICY),false)
LOCAL_REQUIRED_MODULES
+=
precompiled_sepolicy precompiled_sepolicy.plat_and_mapping.sha256
LOCAL_REQUIRED_MODULES
+=
precompiled_sepolicy precompiled_sepolicy.plat_and_mapping.sha256
endif
endif
else
else
# Use monolithic SELinux policy
# Use monolithic SELinux policy
LOCAL_REQUIRED_MODULES
+=
sepolicy
\
LOCAL_REQUIRED_MODULES
+=
sepolicy
file_contexts.bin
endif
endif
LOCAL_REQUIRED_MODULES
+=
\
nonplat_file_contexts
\
plat_file_contexts
include
$(BUILD_PHONY_PACKAGE)
include
$(BUILD_PHONY_PACKAGE)
##################################
##################################
...
@@ -703,7 +704,11 @@ include $(CLEAR_VARS)
...
@@ -703,7 +704,11 @@ include $(CLEAR_VARS)
LOCAL_MODULE
:=
plat_file_contexts
LOCAL_MODULE
:=
plat_file_contexts
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE_TAGS
:=
optional
ifeq
($(PRODUCT_FULL_TREBLE),true)
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT
)
/etc/selinux
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT
)
/etc/selinux
else
LOCAL_MODULE_PATH
:=
$(
TARGET_ROOT_OUT
)
endif
include
$(BUILD_SYSTEM)/base_rules.mk
include
$(BUILD_SYSTEM)/base_rules.mk
...
@@ -733,7 +738,11 @@ include $(CLEAR_VARS)
...
@@ -733,7 +738,11 @@ include $(CLEAR_VARS)
LOCAL_MODULE
:=
nonplat_file_contexts
LOCAL_MODULE
:=
nonplat_file_contexts
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE_TAGS
:=
optional
ifeq
($(PRODUCT_FULL_TREBLE),true)
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT_VENDOR
)
/etc/selinux
LOCAL_MODULE_PATH
:=
$(
TARGET_OUT_VENDOR
)
/etc/selinux
else
LOCAL_MODULE_PATH
:=
$(
TARGET_ROOT_OUT
)
endif
include
$(BUILD_SYSTEM)/base_rules.mk
include
$(BUILD_SYSTEM)/base_rules.mk
...
...
This diff is collapsed.
Click to expand it.
private/file_contexts
+
0
−
1
View file @
4fe3b0b9
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
/sdcard u:object_r:rootfs:s0
/sdcard u:object_r:rootfs:s0
# SELinux policy files
# SELinux policy files
/file_contexts\.bin u:object_r:file_contexts_file:s0
/nonplat_file_contexts u:object_r:file_contexts_file:s0
/nonplat_file_contexts u:object_r:file_contexts_file:s0
/plat_file_contexts u:object_r:file_contexts_file:s0
/plat_file_contexts u:object_r:file_contexts_file:s0
/mapping_sepolicy\.cil u:object_r:sepolicy_file:s0
/mapping_sepolicy\.cil u:object_r:sepolicy_file:s0
...
...
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