summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-11-01 19:05:20 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-11-02 00:10:39 +0000
commit9abda4d8fc0eb44553ee5c4dcdb5ad77deb01aaf (patch)
tree191f9f97a19d442202f7cfd17ab1308769aebf23 /scripts/basic/split-include.c
parentfaea3cda41d3deb4f28e7970c556896b1aa8bd76 (diff)
downloadlinux-9abda4d8fc0eb44553ee5c4dcdb5ad77deb01aaf.tar.gz
linux-9abda4d8fc0eb44553ee5c4dcdb5ad77deb01aaf.zip
selftests/bpf: Test the arguments of an extension prog
An extension must not expect more of its arguments than the callers of the replaced function provide. It must fail if it expects more memory, a non-NULL pointer or another kind of argument. The same argument, less memory or a pointer that can be NULL must pass. Test check_ext_args() at load and at attach to another function of the same target prog. The load must fail with the message of the check, and the attach with -EINVAL. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261101190535.1454146-13-alexei.starovoitov@gmail.com
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions