Files
twx-linux/include/uapi/linux
Mykyta Yatsenko 0de445d18e bpf: BPF token support for BPF_BTF_GET_FD_BY_ID
Currently BPF_BTF_GET_FD_BY_ID requires CAP_SYS_ADMIN, which does not
allow running it from user namespace. This creates a problem when
freplace program running from user namespace needs to query target
program BTF.
This patch relaxes capable check from CAP_SYS_ADMIN to CAP_BPF and adds
support for BPF token that can be passed in attributes to syscall.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250317174039.161275-2-mykyta.yatsenko5@gmail.com
2025-03-17 13:45:11 -07:00
..
2024-11-03 20:33:43 +00:00
2025-01-13 07:36:29 -08:00
2024-12-04 16:08:34 +01:00
2025-01-17 22:23:47 +01:00
2024-11-01 01:19:00 +00:00
2025-01-08 13:18:11 +01:00
2025-01-23 13:05:06 -06:00
2024-10-24 13:54:51 +02:00
2025-01-09 16:23:17 +01:00
2024-11-05 10:24:16 +00:00