diff options
author | 2020-08-25 16:20:03 -0700 | |
---|---|---|
committer | 2020-08-26 12:47:56 -0700 | |
commit | 1410620cf20e7e23cce17983e9a81af659b28583 (patch) | |
tree | 9c85e9701630619b177f54108794bed961bd1b93 /net/core/sock_map.c | |
parent | selftests/bpf: Test for checking return code for the extended prog (diff) | |
download | wireguard-linux-1410620cf20e7e23cce17983e9a81af659b28583.tar.xz wireguard-linux-1410620cf20e7e23cce17983e9a81af659b28583.zip |
selftests/bpf: Test for map update access from within EXT programs
This adds further tests to ensure access permissions and restrictions
are applied properly for some map types such as sock-map.
It also adds another negative tests to assert static functions cannot be
replaced. In the 'unreliable' mode it still fails with error 'tracing progs
cannot use bpf_spin_lock yet' with the change in 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-5-udippant@fb.com
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions