aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorKaFai Wan <[email protected]>2025-07-24 15:14:51 +0000
committerAlexei Starovoitov <[email protected]>2025-07-29 02:39:29 +0000
commita5a6b29a700fda1dd766cc42dde2cbba9b19f470 (patch)
treea3d348ee09aad837013a34fce666d617a4527dfe /lib/fault-inject.c
parentbpf: Fix various typos in verifier.c comments (diff)
downloadkernel-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 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions