aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bpf_types.h
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2020-05-27 18:57:00 +0000
committerAlexei Starovoitov <ast@kernel.org>2020-06-01 14:38:22 -0700
commit43dd115b1fffdd8d2c4cc15659c00b2a1addbc43 (patch)
treec12bee6e69cccf7ebeb5b2c6b8228d0982660fe5 /include/linux/bpf_types.h
parentbpf: Fix map permissions check (diff)
downloadwireguard-linux-43dd115b1fffdd8d2c4cc15659c00b2a1addbc43.tar.xz
wireguard-linux-43dd115b1fffdd8d2c4cc15659c00b2a1addbc43.zip
selftests/bpf: Add tests for write-only stacks/queues
For write-only stacks and queues bpf_map_update_elem should be allowed, but bpf_map_lookup_elem and bpf_map_lookup_and_delete_elem should fail with EPERM. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200527185700.14658-6-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf_types.h')
0 files changed, 0 insertions, 0 deletions