linux/include/uapi
Stanislav Fomichev b79c9fc955 bpf: implement BPF_PROG_QUERY for BPF_LSM_CGROUP
We have two options:
1. Treat all BPF_LSM_CGROUP the same, regardless of attach_btf_id
2. Treat BPF_LSM_CGROUP+attach_btf_id as a separate hook point

I was doing (2) in the original patch, but switching to (1) here:

* bpf_prog_query returns all attached BPF_LSM_CGROUP programs
regardless of attach_btf_id
* attach_btf_id is exported via bpf_prog_info

Reviewed-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20220628174314.1216643-6-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-06-29 13:21:52 -07:00
..
asm-generic TTY / Serial driver changes for 5.19-rc1 2022-06-03 11:08:40 -07:00
drm drm/amdgpu: add AMDGPU_VM_NOALLOC v2 2022-05-26 14:56:34 -04:00
linux bpf: implement BPF_PROG_QUERY for BPF_LSM_CGROUP 2022-06-29 13:21:52 -07:00
misc habanalabs: add support for notification via eventfd 2022-05-22 21:01:20 +02:00
mtd
rdma RDMA/mlx5: Support handling of modify-header pattern ICM area 2022-06-13 14:58:01 -07:00
scsi scsi: mpi3mr: Add support for NVMe passthrough 2022-05-02 17:02:42 -04:00
sound ASoC: SOF: ipc: introduce cont_update_posn in sof_ipc_stream_params struct 2022-05-10 14:01:54 +01:00
video
xen Improve docs for IOCTL_GNTDEV_MAP_GRANT_REF 2022-02-03 08:23:32 +01:00
Kbuild