[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b615adad-a8fb-3405-3b1c-7376e5b65d90@fb.com>
Date: Sun, 10 Jan 2021 11:46:06 -0800
From: Yonghong Song <yhs@...com>
To: Andrii Nakryiko <andrii@...nel.org>, <bpf@...r.kernel.org>,
<netdev@...r.kernel.org>, <ast@...com>, <daniel@...earbox.net>
CC: <kernel-team@...com>
Subject: Re: [PATCH bpf-next] libbpf: clarify kernel type use with USER
variants of CORE reading macros
On 1/8/21 11:44 AM, Andrii Nakryiko wrote:
> Add comments clarifying that USER variants of CO-RE reading macro are still
> only going to work with kernel types, defined in kernel or kernel module BTF.
> This should help preventing invalid use of those macro to read user-defined
> types (which doesn't work with CO-RE).
>
> Signed-off-by: Andrii Nakryiko <andrii@...nel.org>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists