Skip to content

Commit 224404f

Browse files
cloehlegregkh
authored andcommitted
bpf: drop kthread_exit from noreturn_deny
commit 7fe44c4 upstream. kthread_exit became a macro to do_exit in commit 28aaa9c ("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>
1 parent 9fd37b6 commit 224404f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

kernel/bpf/verifier.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24081,7 +24081,6 @@ BTF_ID(func, __x64_sys_exit_group)
2408124081
BTF_ID(func, do_exit)
2408224082
BTF_ID(func, do_group_exit)
2408324083
BTF_ID(func, kthread_complete_and_exit)
24084-
BTF_ID(func, kthread_exit)
2408524084
BTF_ID(func, make_task_dead)
2408624085
BTF_SET_END(noreturn_deny)
2408724086

0 commit comments

Comments
 (0)