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
3286c675
Commit
3286c675
authored
9 years ago
by
Felipe Leme
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Grant access to net_raw and net_admin to dumpstate.
am:
42aaf5a0
Change-Id: I225056d3febfa71be4c425bf4283cc0d7f356c7d
parents
3baef130
42aaf5a0
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
dumpstate.te
+7
-2
7 additions, 2 deletions
dumpstate.te
with
7 additions
and
2 deletions
dumpstate.te
+
7
−
2
View file @
3286c675
...
@@ -13,8 +13,13 @@ allow dumpstate self:capability { setuid setgid sys_resource };
...
@@ -13,8 +13,13 @@ allow dumpstate self:capability { setuid setgid sys_resource };
# Allow dumpstate to scan through /proc/pid for all processes
# Allow dumpstate to scan through /proc/pid for all processes
r_dir_file(dumpstate, domain)
r_dir_file(dumpstate, domain)
allow dumpstate self:capability {
# Send signals to processes
# Send signals to processes
allow dumpstate self:capability kill;
kill
# Run iptables
net_raw
net_admin
};
# Allow executing files on system, such as:
# Allow executing files on system, such as:
# /system/bin/toolbox
# /system/bin/toolbox
...
...
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