lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAEf4Bzbq=p=yqW1nqCT2mA-jRHvNBh=Gd9sci4=LsfS25XXQqw@mail.gmail.com> Date: Wed, 5 Oct 2022 20:19:30 -0700 From: Andrii Nakryiko <andrii.nakryiko@...il.com> To: Daniel Borkmann <daniel@...earbox.net> Cc: bpf@...r.kernel.org, razor@...ckwall.org, ast@...nel.org, andrii@...nel.org, martin.lau@...ux.dev, john.fastabend@...il.com, joannelkoong@...il.com, memxor@...il.com, toke@...hat.com, joe@...ium.io, netdev@...r.kernel.org Subject: Re: [PATCH bpf-next 04/10] bpf: Implement link introspection for tc BPF link programs On Tue, Oct 4, 2022 at 4:12 PM Daniel Borkmann <daniel@...earbox.net> wrote: > > Implement tc BPF link specific show_fdinfo and link_info to emit ifindex, > attach location and priority. > > Co-developed-by: Nikolay Aleksandrov <razor@...ckwall.org> > Signed-off-by: Nikolay Aleksandrov <razor@...ckwall.org> > Signed-off-by: Daniel Borkmann <daniel@...earbox.net> > --- LGTM Acked-by: Andrii Nakryiko <andrii@...nel.org> > include/uapi/linux/bpf.h | 5 +++++ > kernel/bpf/net.c | 36 ++++++++++++++++++++++++++++++++++ > tools/include/uapi/linux/bpf.h | 5 +++++ > 3 files changed, 46 insertions(+) > > diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h > index c006f561648e..f1b089170b78 100644 > --- a/include/uapi/linux/bpf.h > +++ b/include/uapi/linux/bpf.h > @@ -6309,6 +6309,11 @@ struct bpf_link_info { > struct { > __u32 ifindex; > } xdp; > + struct { > + __u32 ifindex; > + __u32 attach_type; > + __u32 priority; > + } tc; > }; > } __attribute__((aligned(8))); > [...]
Powered by blists - more mailing lists