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
b81943b6
Commit
b81943b6
authored
8 years ago
by
Sandeep Patil
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
prop_context: correctly label all property_context files
am:
54a42001
Change-Id: I8281fcee3729b0a48131a860381db2a2be5f8c84
parents
0aa47bbf
54a42001
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/file_contexts
+4
-2
4 additions, 2 deletions
private/file_contexts
public/domain.te
+1
-1
1 addition, 1 deletion
public/domain.te
public/file.te
+1
-1
1 addition, 1 deletion
public/file.te
with
6 additions
and
4 deletions
private/file_contexts
+
4
−
2
View file @
b81943b6
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
/mapping_sepolicy\.cil u:object_r:rootfs:s0
/mapping_sepolicy\.cil u:object_r:rootfs:s0
/nonplat_sepolicy\.cil u:object_r:rootfs:s0
/nonplat_sepolicy\.cil u:object_r:rootfs:s0
/plat_sepolicy\.cil u:object_r:rootfs:s0
/plat_sepolicy\.cil u:object_r:rootfs:s0
/plat_property_contexts u:object_r:property_contexts:s0
/plat_property_contexts u:object_r:property_contexts
_file
:s0
/nonplat_property_contexts u:object_r:property_contexts:s0
/nonplat_property_contexts u:object_r:property_contexts
_file
:s0
/seapp_contexts u:object_r:rootfs:s0
/seapp_contexts u:object_r:rootfs:s0
/nonplat_seapp_contexts u:object_r:rootfs:s0
/nonplat_seapp_contexts u:object_r:rootfs:s0
/plat_seapp_contexts u:object_r:rootfs:s0
/plat_seapp_contexts u:object_r:rootfs:s0
...
@@ -249,11 +249,13 @@
...
@@ -249,11 +249,13 @@
/system/bin/virtual_touchpad u:object_r:virtual_touchpad_exec:s0
/system/bin/virtual_touchpad u:object_r:virtual_touchpad_exec:s0
/system/bin/vr_wm u:object_r:vr_wm_exec:s0
/system/bin/vr_wm u:object_r:vr_wm_exec:s0
/system/bin/hw/android\.hidl\.allocator@1\.0-service u:object_r:hal_allocator_default_exec:s0
/system/bin/hw/android\.hidl\.allocator@1\.0-service u:object_r:hal_allocator_default_exec:s0
/system/etc/selinux/plat_property_contexts u:object_r:property_contexts_file:s0
#############################
#############################
# Vendor files
# Vendor files
#
#
/vendor(/.*)? u:object_r:system_file:s0
/vendor(/.*)? u:object_r:system_file:s0
/vendor/etc/selinux/nonplat_property_contexts u:object_r:property_contexts_file:s0
#############################
#############################
# OEM and ODM files
# OEM and ODM files
...
...
This diff is collapsed.
Click to expand it.
public/domain.te
+
1
−
1
View file @
b81943b6
...
@@ -89,7 +89,7 @@ get_prop(domain, core_property_type)
...
@@ -89,7 +89,7 @@ get_prop(domain, core_property_type)
# messages to logd.
# messages to logd.
get_prop(domain, log_property_type)
get_prop(domain, log_property_type)
dontaudit domain property_type:file audit_access;
dontaudit domain property_type:file audit_access;
allow domain property_contexts:file r_file_perms;
allow domain property_contexts
_file
:file r_file_perms;
allow domain init:key search;
allow domain init:key search;
allow domain vold:key search;
allow domain vold:key search;
...
...
This diff is collapsed.
Click to expand it.
public/file.te
+
1
−
1
View file @
b81943b6
...
@@ -257,7 +257,7 @@ type sap_uim_socket, file_type;
...
@@ -257,7 +257,7 @@ type sap_uim_socket, file_type;
type gps_control, file_type;
type gps_control, file_type;
# property_contexts file
# property_contexts file
type property_contexts, file_type;
type property_contexts
_file
, file_type;
# Allow files to be created in their appropriate filesystems.
# Allow files to be created in their appropriate filesystems.
allow fs_type self:filesystem associate;
allow fs_type self:filesystem associate;
...
...
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