Thread (8 messages) flat view 8 messages, 3 authors, 2017-03-21

Re: [PATCH net-next v6 2/3] Add a eBPF helper function to retrieve socket uid

From: Alexei Starovoitov <hidden>
Date: 2017-03-21 05:41:06

On Mon, Mar 20, 2017 at 09:08:56PM -0700, Chenbo Feng wrote:
From: Chenbo Feng <redacted>

Returns the owner uid of the socket inside a sk_buff. This is useful to
perform per-UID accounting of network traffic or per-UID packet
filtering. The socket need to be a fullsock otherwise overflowuid is
returned.

Signed-off-by: Chenbo Feng <redacted>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help