aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorAndrei Matei <[email protected]>2023-12-21 23:22:25 +0000
committerAndrii Nakryiko <[email protected]>2024-01-03 18:37:56 +0000
commit72187506de4f19fcc8ae63a2b2f36d75e5259d9d (patch)
treed58e59ba6536fc754d8aed14bd7ef6a2a3fe2be0 /net/unix/unix_bpf.c
parentbpf: Simplify checking size of helper accesses (diff)
downloadkernel-72187506de4f19fcc8ae63a2b2f36d75e5259d9d.tar.gz
kernel-72187506de4f19fcc8ae63a2b2f36d75e5259d9d.zip
bpf: Add a possibly-zero-sized read test
This patch adds a test for the condition that the previous patch mucked with - illegal zero-sized helper memory access. As opposed to existing tests, this new one uses a size whose lower bound is zero, as opposed to a known-zero one. Signed-off-by: Andrei Matei <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions