summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-08-24 15:46:26 +0900
committerDavid S. Miller <davem@davemloft.net>2016-08-24 21:57:20 -0700
commita52e95abf772b43c9226e9a72d3c1353903ba96f (patch)
tree92e3d29500ba58f2069f70a064d224f299a4a4b0 /net/dccp
parent627cc4add53c0470bfd118002669205d222d3a54 (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 <lorenzo@google.com> Acked-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions