diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-10-02 12:47:01 +0000 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-10-03 16:08:15 +0200 |
| commit | 7ba7c5b3989ed28617399a47fc70c292ff606b23 (patch) | |
| tree | 2eeea6c8adaf743a5947188277bc2a71afdbe0ee /include/uapi/linux | |
| parent | 72c0681c0e75aa4fe6ce46ac0bb63fb5be9132d7 (diff) | |
| download | linux-next-7ba7c5b3989ed28617399a47fc70c292ff606b23.tar.gz linux-next-7ba7c5b3989ed28617399a47fc70c292ff606b23.zip | |
selftests/bpf: Add tests for ALU on pointers with CAP_PERFMON
Check that &=, |=, ^=, >>=, *= and 32-bit &= on a pointer to map value
produce a number for a program with CAP_PERFMON and that the number
can't be dereferenced. They are rejected without CAP_PERFMON, with
CAP_BPF or without it. Pointer that may be NULL and pointer to map are
rejected as before.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20261002124714.180012-3-alexei.starovoitov@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
