Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpf: drop kthread_exit from noreturn_deny

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>

authored by

Christian Loehle and committed by
Linus Torvalds
7fe44c43 5ee8dbf5

-1
-1
kernel/bpf/verifier.c
··· 25261 25261 BTF_ID(func, do_exit) 25262 25262 BTF_ID(func, do_group_exit) 25263 25263 BTF_ID(func, kthread_complete_and_exit) 25264 - BTF_ID(func, kthread_exit) 25265 25264 BTF_ID(func, make_task_dead) 25266 25265 BTF_SET_END(noreturn_deny) 25267 25266