Merge "Grant access to net_raw and net_admin to dumpstate."
diff --git a/dumpstate.te b/dumpstate.te
index d31d45f..4a475d1 100644
--- a/dumpstate.te
+++ b/dumpstate.te
@@ -13,8 +13,13 @@
# Allow dumpstate to scan through /proc/pid for all processes
r_dir_file(dumpstate, domain)
-# Send signals to processes
-allow dumpstate self:capability kill;
+allow dumpstate self:capability {
+ # Send signals to processes
+ kill
+ # Run iptables
+ net_raw
+ net_admin
+};
# Allow executing files on system, such as:
# /system/bin/toolbox