Skip to content

Commit ac8befc

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 54b898e commit ac8befc

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
@@ -24641,7 +24641,6 @@ BTF_ID(func, __x64_sys_exit_group)
2464124641
BTF_ID(func, do_exit)
2464224642
BTF_ID(func, do_group_exit)
2464324643
BTF_ID(func, kthread_complete_and_exit)
24644-
BTF_ID(func, kthread_exit)
2464524644
BTF_ID(func, make_task_dead)
2464624645
BTF_SET_END(noreturn_deny)
2464724646

0 commit comments

Comments
 (0)