Skip to content
Snippets Groups Projects
Commit 3286c675 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Grant access to net_raw and net_admin to dumpstate.

am: 42aaf5a0

Change-Id: I225056d3febfa71be4c425bf4283cc0d7f356c7d
parents 3baef130 42aaf5a0
Branches
Tags
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment