Tejun Heo c501bf55c8 bpf: Make bpf_get_current_[ancestor_]cgroup_id() available for all program types
These helpers are safe to call from any context and there's no reason to
restrict access to them. Remove them from bpf_trace and filter lists and add
to bpf_base_func_proto() under perfmon_capable().

v2: After consulting with Andrii, relocated in bpf_base_func_proto() so that
    they require bpf_capable() but not perfomon_capable() as it doesn't read
    from or affect others on the system.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/ZAD8QyoszMZiTzBY@slm.duckdns.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-03-02 22:37:07 -08:00
..
2023-01-12 17:02:20 -06:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-13 09:30:14 +00:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 09:00:09 -08:00
2023-02-10 17:51:27 -08:00
2022-08-22 14:26:30 +01:00
2023-02-21 18:24:12 -08:00