Files
linux/net/ipv4
Andrii Nakryiko 4cbb270e11 bpf: take into account BPF token when fetching helper protos
Instead of performing unconditional system-wide bpf_capable() and
perfmon_capable() calls inside bpf_base_func_proto() function (and other
similar ones) to determine eligibility of a given BPF helper for a given
program, use previously recorded BPF token during BPF_PROG_LOAD command
handling to inform the decision.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231130185229.2688956-8-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-12-06 10:02:59 -08:00
..
2023-05-31 13:06:57 +02:00
2023-10-25 10:38:07 +01:00
2021-05-17 15:29:35 -07:00
2023-04-13 16:43:38 -07:00
2021-05-17 15:29:35 -07:00
2023-11-03 09:16:42 +00:00
2022-12-20 03:13:45 +01:00
2023-10-27 10:35:46 +01:00
2021-05-17 15:29:35 -07:00
2023-09-14 16:16:36 +02:00