On Tue, Mar 12, 2024 at 9:51 AM Alexei Starovoitov
wrote:
>
> On Mon, Mar 11, 2024 at 2:35 AM Menglong Dong
> wrote:
> >
> > Add target btf to the function args of bpf_check_attach_target(), then
> > the caller can specify the btf to check.
> >
> > Signed-off-by: Menglong Dong
> > ---
> >
On Mon, Mar 11, 2024 at 2:35 AM Menglong Dong
wrote:
>
> Add target btf to the function args of bpf_check_attach_target(), then
> the caller can specify the btf to check.
>
> Signed-off-by: Menglong Dong
> ---
> include/linux/bpf_verifier.h | 1 +
> kernel/bpf/syscall.c | 6 --
>
Add target btf to the function args of bpf_check_attach_target(), then
the caller can specify the btf to check.
Signed-off-by: Menglong Dong
---
include/linux/bpf_verifier.h | 1 +
kernel/bpf/syscall.c | 6 --
kernel/bpf/trampoline.c | 1 +
kernel/bpf/verifier.c| 8