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-08-31 17:18:53 +02:00
2023-08-16 11:42:33 -07:00
2023-10-16 21:05:33 -07:00
2023-11-01 22:31:41 -07:00
2023-03-08 11:15:39 -08:00
2023-10-16 21:05:33 -07:00
2022-11-20 15:45:48 -08:00