Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
selftests/bpf: Test that a signed program with CO-RE relocations is refused
Load a two insn program with a junk signature and one CO-RE relocation record, and check that the kernel refuses it with -EACCES and the message naming the relocations, before it examines the signature. Without the check the same load gets as far as the signature and fails on it with -EBADMSG. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://patch.msgid.link/20261019144851.4052056-3-memxor@gmail.com
Author Kumar Kartikeya Dwivedi Committer Alexei Starovoitov Date (Oct 20, 2026, 12:15 AM UTC) Commit
Copy SHA
Parent 19a17b5b 19a17b5b2b01f6b5ba8f8d493629c759f90906d5