Allow dumpstate to run ss.

(cherry picked from commit 63c7ad6efb)

Bug: 23113288
Test: see http://ag/1476096
Change-Id: I3beb21f1af092c93eceb3d5115f823c1b993727d
This commit is contained in:
Lorenzo Colitti 2016-09-26 13:39:43 +09:00
parent 96031a8357
commit bb9b4dd895

View File

@ -141,6 +141,9 @@ control_logd(dumpstate)
allow dumpstate net_data_file:dir search;
allow dumpstate net_data_file:file r_file_perms;
# List sockets via ss.
allow dumpstate self:netlink_tcpdiag_socket { create_socket_perms nlmsg_read };
# Access /data/tombstones.
allow dumpstate tombstone_data_file:dir r_dir_perms;
allow dumpstate tombstone_data_file:file r_file_perms;