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
623579ae
Commit
623579ae
authored
7 years ago
by
Nick Kralevich
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "tighten up some neverallow rules." am:
dbe5086f
am:
63c66766
am:
9462739e
Change-Id: I0917cb660acf1410a1cbdeb028f28318284a5686
parents
f73b714e
9462739e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/domain.te
+2
-2
2 additions, 2 deletions
public/domain.te
with
2 additions
and
2 deletions
public/domain.te
+
2
−
2
View file @
623579ae
...
@@ -481,10 +481,10 @@ neverallow { domain -init -recovery -vold } metadata_block_device:blk_file
...
@@ -481,10 +481,10 @@ neverallow { domain -init -recovery -vold } metadata_block_device:blk_file
{ append link rename write open read ioctl lock };
{ append link rename write open read ioctl lock };
# No domain other than recovery and update_engine can write to system partition(s).
# No domain other than recovery and update_engine can write to system partition(s).
neverallow { domain -recovery -update_engine } system_block_device:blk_file write;
neverallow { domain -recovery -update_engine } system_block_device:blk_file
{
write
append }
;
# No domains other than install_recovery or recovery can write to recovery.
# No domains other than install_recovery or recovery can write to recovery.
neverallow { domain -install_recovery -recovery } recovery_block_device:blk_file write;
neverallow { domain -install_recovery -recovery } recovery_block_device:blk_file
{
write
append }
;
# No domains other than a select few can access the misc_block_device. This
# No domains other than a select few can access the misc_block_device. This
# block device is reserved for OTA use.
# block device is reserved for OTA use.
...
...
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