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
654e9129
Commit
654e9129
authored
9 years ago
by
Nick Kralevich
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
shell.te: allow rules before neverallow rules
am:
9c5b4a8a
* commit '
9c5b4a8a
': shell.te: allow rules before neverallow rules
parents
fc60f1e4
9c5b4a8a
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
shell.te
+8
-3
8 additions, 3 deletions
shell.te
with
8 additions
and
3 deletions
shell.te
+
8
−
3
View file @
654e9129
...
...
@@ -112,6 +112,14 @@ allow shell bootchart_data_file:file create_file_perms;
# Make sure strace works for the non-privileged shell user
allow shell self:process ptrace;
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
###
### Neverallow rules
###
# Do not allow shell to hard link to any files.
# In particular, if shell hard links to app data
# files, installd will not be able to guarantee the deletion
...
...
@@ -119,6 +127,3 @@ allow shell self:process ptrace;
# bugs, so we want to ensure the shell user never has this
# capability.
neverallow shell file_type:file link;
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
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