linux/tools
Udip Pant 6dc03dc713 selftests/bpf: Add test for freplace program with write access
This adds a selftest that tests the behavior when a freplace target program
attempts to make a write access on a packet. The expectation is that the read or write
access is granted based on the program type of the linked program and
not itself (which is of type, for e.g., BPF_PROG_TYPE_EXT).

This test fails without the associated patch on the verifier.

Signed-off-by: Udip Pant <udippant@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200825232003.2877030-3-udippant@fb.com
2020-08-26 12:47:56 -07:00
..
accounting
arch tools headers kvm s390: Sync headers with the kernel sources 2020-08-12 08:52:32 -03:00
bootconfig
bpf tools resolve_btfids: Add support for set symbols 2020-08-25 15:37:41 -07:00
build tools: Remove feature-libelf-mmap feature detection 2020-08-18 18:38:25 -07:00
cgroup tools/cgroup: add memcg_slabinfo.py tool 2020-08-07 11:33:25 -07:00
debugging
edid
firewire
firmware
gpio
hv
iio
include bpf: Add d_path helper 2020-08-25 15:41:15 -07:00
io_uring
kvm/kvm_stat
laptop
leds
lib bpf: Implement bpf_local_storage for inodes 2020-08-25 15:00:04 -07:00
memory-model
nfsd
objtool
pci
pcmcia
perf tools: Remove feature-libelf-mmap feature detection 2020-08-18 18:38:25 -07:00
power
scripts
spi
testing selftests/bpf: Add test for freplace program with write access 2020-08-26 12:47:56 -07:00
thermal/tmon
time
usb
virtio virtio: fixes, features 2020-08-11 14:34:17 -07:00
vm
wmi
Makefile