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
0b32806e
Commit
0b32806e
authored
7 years ago
by
Tom Cherry
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix compatible property neverallows" am:
de8c30d1
am:
48b3cc22
am:
072abece
Change-Id: I9a07c2f75854db11d509e7a1512e9222b04f5f20
parents
f7f4e144
072abece
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
public/property.te
+28
-3
28 additions, 3 deletions
public/property.te
with
28 additions
and
3 deletions
public/property.te
+
28
−
3
View file @
0b32806e
...
@@ -116,6 +116,7 @@ neverallow * {
...
@@ -116,6 +116,7 @@ neverallow * {
}:file no_rw_file_perms;
}:file no_rw_file_perms;
compatible_property_only(`
compatible_property_only(`
# Prevent properties from being set
neverallow {
neverallow {
domain
domain
-coredomain
-coredomain
...
@@ -129,19 +130,43 @@ compatible_property_only(`
...
@@ -129,19 +130,43 @@ compatible_property_only(`
exported_dumpstate_prop
exported_dumpstate_prop
exported_ffs_prop
exported_ffs_prop
exported_fingerprint_prop
exported_fingerprint_prop
exported_radio_prop
exported_system_prop
exported_system_prop
exported_system_radio_prop
exported_system_radio_prop
exported_vold_prop
exported_vold_prop
exported2_config_prop
exported2_config_prop
exported2_default_prop
exported2_default_prop
exported2_radio_prop
exported2_system_prop
exported2_system_prop
exported2_vold_prop
exported2_vold_prop
exported3_default_prop
exported3_default_prop
exported3_system_prop
exported3_system_prop
}:file no_w_file_perms;
-nfc_prop
-powerctl_prop
-radio_prop
}:property_service set;
neverallow {
domain
-coredomain
-appdomain
-hal_nfc
-vendor_init
} {
nfc_prop
}:property_service set;
neverallow {
domain
-coredomain
-appdomain
-rild
-vendor_init
} {
exported_radio_prop
exported2_radio_prop
radio_prop
}:property_service set;
# Prevent properties from being read
neverallow {
neverallow {
domain
domain
-coredomain
-coredomain
...
...
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