diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-01-08 22:44:08 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-01-09 01:06:03 +0300 |
commit | e22d7f05e445165e58feddb4e40cc9c0f94453bc (patch) | |
tree | 44c46af75ccfcbb3f2b5e82628ab2840f61e65d9 /fs/attr.c | |
parent | 9a8120a8d7eb872da43e61d598c226f0d6b7ce5f (diff) | |
download | linux-e22d7f05e445165e58feddb4e40cc9c0f94453bc.tar.xz |
libbpf: Clarify kernel type use with USER variants of CORE reading macros
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@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210108194408.3468860-1-andrii@kernel.org
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions