diff options
| author | KaFai Wan <[email protected]> | 2025-07-24 15:14:51 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-07-29 02:39:29 +0000 |
| commit | a5a6b29a700fda1dd766cc42dde2cbba9b19f470 (patch) | |
| tree | a3d348ee09aad837013a34fce666d617a4527dfe /tools/net/ynl/pyynl/lib/ynl.py | |
| parent | bpf: Fix various typos in verifier.c comments (diff) | |
| download | kernel-a5a6b29a700fda1dd766cc42dde2cbba9b19f470.tar.gz kernel-a5a6b29a700fda1dd766cc42dde2cbba9b19f470.zip | |
bpf: Show precise rejected function when attaching fexit/fmod_ret to __noreturn functions
With this change, we know the precise rejected function name when
attaching fexit/fmod_ret to __noreturn functions from log.
$ ./fexit
libbpf: prog 'fexit': BPF program load failed: -EINVAL
libbpf: prog 'fexit': -- BEGIN PROG LOAD LOG --
Attaching fexit/fmod_ret to __noreturn function 'do_exit' is rejected.
Suggested-by: Leon Hwang <[email protected]>
Signed-off-by: KaFai Wan <[email protected]>
Acked-by: Yafang Shao <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
