Andrii Nakryiko e1cef620f5 bpf: add BPF token support to BPF_PROG_LOAD command
Add basic support of BPF token to BPF_PROG_LOAD. Wire through a set of
allowed BPF program types and attach types, derived from BPF FS at BPF
token creation time. Then make sure we perform bpf_token_capable()
checks everywhere where it's relevant.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231130185229.2688956-7-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-12-06 10:02:59 -08:00
..
2023-11-07 17:10:02 -08:00
2023-11-09 13:54:25 -08:00
2023-10-31 16:37:07 -04:00
2023-11-30 16:58:42 -08:00
2023-11-02 15:13:50 -10:00
2023-11-09 13:37:28 -08:00
2023-10-31 09:01:25 +01:00