[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <315a12d8-abd9-f9d3-a1b2-bcec8598a984@gmail.com>
Date: Mon, 10 Aug 2020 07:56:08 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jiang Yu <jyu.jiang@...o.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
Andrii Nakryiko <andriin@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...omium.org>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Sitnicki <jakub@...udflare.com>,
zhanglin <zhang.lin16@....com.cn>,
Kees Cook <keescook@...omium.org>,
Andrey Ignatov <rdna@...com>,
Quentin Monnet <quentin@...valent.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: Re: [PATCH] bpf: Add bpf_skb_get_sock_comm() helper
On 8/10/20 6:09 AM, Jiang Yu wrote:
> skb distinguished by uid can only recorded to user who consume them.
> in many case, skb should been recorded more specific to process who
> consume them. E.g, the unexpected large data traffic of illegal process
> in metered network.
>
> this helper is used in tracing task comm of the sock to which a skb
> belongs.
>
> Signed-off-by: Jiang Yu <jyu.jiang@...o.com>
fd can be passed from one process to another.
Powered by blists - more mailing lists