diff options
| author | Christian Loehle <christian.loehle@arm.com> | 2026-03-06 10:49:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:15:33 +0100 |
| commit | ac8befc7fe3c325ebdf10f6dfc458260f8b98114 (patch) | |
| tree | c70d5cd1501ea4477175b368ef457724ba123c51 | |
| parent | 54b898e761b3e52d828bafe95cf41d3c238fd8a9 (diff) | |
bpf: drop kthread_exit from noreturn_deny
commit 7fe44c4388146bdbb3c5932d81a26d9fa0fd3ec9 upstream.
kthread_exit became a macro to do_exit in commit 28aaa9c39945
("kthread: consolidate kthread exit paths to prevent use-after-free"),
so there is no kthread_exit function BTF ID to resolve. Remove it from
noreturn_deny to avoid resolve_btfids unresolved symbol warnings.
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | kernel/bpf/verifier.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index b594a065b83c..9c4723cdac70 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -24641,7 +24641,6 @@ BTF_ID(func, __x64_sys_exit_group) BTF_ID(func, do_exit) BTF_ID(func, do_group_exit) BTF_ID(func, kthread_complete_and_exit) -BTF_ID(func, kthread_exit) BTF_ID(func, make_task_dead) BTF_SET_END(noreturn_deny) |
