Skip to content
Snippets Groups Projects
Commit 0dbd1bc1 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by android-build-merger
Browse files

Allow dumpstate to run ss.

am: 63c7ad6e

Change-Id: I5b9383b4c50d2eecd995db6943a0a27e50fb6fdd
parents 76436c61 63c7ad6e
No related branches found
No related tags found
No related merge requests found
...@@ -137,6 +137,9 @@ control_logd(dumpstate) ...@@ -137,6 +137,9 @@ control_logd(dumpstate)
allow dumpstate net_data_file:dir search; allow dumpstate net_data_file:dir search;
allow dumpstate net_data_file:file r_file_perms; 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. # Access /data/tombstones.
allow dumpstate tombstone_data_file:dir r_dir_perms; allow dumpstate tombstone_data_file:dir r_dir_perms;
allow dumpstate tombstone_data_file:file r_file_perms; allow dumpstate tombstone_data_file:file r_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment