[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160824.215736.497441693931042330.davem@davemloft.net>
Date: Wed, 24 Aug 2016 21:57:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lorenzo@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
dsa@...ulusnetworks.com, ek@...gle.com
Subject: Re: [PATCH net-next v2 2/2] net: diag: allow socket bytecode
filters to match socket marks
From: Lorenzo Colitti <lorenzo@...gle.com>
Date: Wed, 24 Aug 2016 15:46:26 +0900
> 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@...gle.com>
Applied.
Powered by blists - more mailing lists