[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c74ab32-7e82-1750-e3a0-9dfb9f3bf5c5@fb.com>
Date: Wed, 13 May 2020 23:58:44 -0700
From: Yonghong Song <yhs@...com>
To: John Fastabend <john.fastabend@...il.com>, <ast@...nel.org>,
<daniel@...earbox.net>
CC: <lmb@...udflare.com>, <bpf@...r.kernel.org>,
<jakub@...udflare.com>, <netdev@...r.kernel.org>
Subject: Re: [bpf-next PATCH 1/3] bpf: sk_msg add some generic helpers that
may be useful from sk_msg
On 5/13/20 12:23 PM, John Fastabend wrote:
> Add these generic helpers that may be useful to use from sk_msg programs.
> The helpers do not depend on ctx so we can simply add them here,
>
> BPF_FUNC_perf_event_output
> BPF_FUNC_get_current_uid_gid
> BPF_FUNC_get_current_pid_tgid
> BPF_FUNC_get_current_comm
> BPF_FUNC_get_current_cgroup_id
> BPF_FUNC_get_current_ancestor_cgroup_id
> BPF_FUNC_get_cgroup_classid
>
> Signed-off-by: John Fastabend <john.fastabend@...il.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists