Re: [PATCH bpf-next v6 07/23] bpf: prepare for more bpf syscall to be used from kernel and user space.

From: Yonghong Song
Date: Sat Jul 16 2022 - 01:45:53 EST




On 7/12/22 7:58 AM, Benjamin Tissoires wrote:
Add BPF_MAP_GET_FD_BY_ID and BPF_MAP_DELETE_PROG.

Only BPF_MAP_GET_FD_BY_ID needs to be amended to be able
to access the bpf pointer either from the userspace or the kernel.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>