]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Test passing scalar NULL to nonnull global subprog
authorAmery Hung <ameryhung@gmail.com>
Thu, 23 Jul 2026 22:18:15 +0000 (15:18 -0700)
committerEduard Zingerman <eddyz87@gmail.com>
Thu, 23 Jul 2026 23:09:08 +0000 (16:09 -0700)
commit55c7bd2ddee50fd37b3b4c0b7a76bb0fd565f38b
treea80308884b5fe7d14b54e19a60e43f219a06359f
parent289e680c89ae8a0bb629fa8308313f5c8c6c76a3
selftests/bpf: Test passing scalar NULL to nonnull global subprog

Make sure the verifier reject passing a hardcoded NULL to an
__arg_nonnull argument.

Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://patch.msgid.link/20260723221815.367797-2-ameryhung@gmail.com
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c