diff options
| author | Lorenzo Colitti <[email protected]> | 2016-08-24 15:46:26 +0900 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-24 21:57:20 -0700 | 
| commit | a52e95abf772b43c9226e9a72d3c1353903ba96f (patch) | |
| tree | 92e3d29500ba58f2069f70a064d224f299a4a4b0 /tools/perf/scripts/python | |
| parent | 627cc4add53c0470bfd118002669205d222d3a54 (diff) | |
net: diag: allow socket bytecode filters to match socket marks
This allows a privileged process to filter by socket mark when
dumping sockets via INET_DIAG_BY_FAMILY. This is useful on
systems that use mark-based routing such as Android.
The ability to filter socket marks requires CAP_NET_ADMIN, which
is consistent with other privileged operations allowed by the
SOCK_DIAG interface such as the ability to destroy sockets and
the ability to inspect BPF filters attached to packet sockets.
Tested: https://android-review.googlesource.com/261350
Signed-off-by: Lorenzo Colitti <[email protected]>
Acked-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions