diff options
author | Udip Pant <udippant@fb.com> | 2020-08-26 02:20:03 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-26 22:47:56 +0300 |
commit | 1410620cf20e7e23cce17983e9a81af659b28583 (patch) | |
tree | 9c85e9701630619b177f54108794bed961bd1b93 /kernel/bpf/stackmap.c | |
parent | 50d19736aff497a4c25ec7e36375195bfd8570cd (diff) | |
download | linux-1410620cf20e7e23cce17983e9a81af659b28583.tar.xz |
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 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions