diff options
| author | Toke Høiland-Jørgensen <toke@redhat.com> | 2026-09-01 10:46:55 +0200 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-09-02 17:20:11 -0700 |
| commit | d6746a246b362c3c83df170eda6d3c44cc0a4040 (patch) | |
| tree | 0de5dec6057f502f6a1a852497d974278d976c97 /tools/lib/python/kdoc | |
| parent | 06d6f845c4bda857a6ae864690f35321b878e827 (diff) | |
| download | linux-next-d6746a246b362c3c83df170eda6d3c44cc0a4040.tar.gz linux-next-d6746a246b362c3c83df170eda6d3c44cc0a4040.zip | |
selftests/bpf: Set BPF program flags non-destructively
A couple of the BPF selftests would set the program flags without
looking at the existing program flags, overriding any other flag values.
To avoid issues when we change libbpf to carry section flags in
prog_flags, change this to always set the flag value non-destructively
by OR'ing it with the existing flags.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260901-libbpf-frags-flags-v3-2-4eb6f14968b0@redhat.com
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
