]> www.infradead.org Git - users/hch/block.git/commitdiff
bpf: sync tooling uapi header
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 6 Jun 2019 23:48:58 +0000 (01:48 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Jun 2019 23:53:12 +0000 (16:53 -0700)
Sync BPF uapi header in order to pull in BPF_CGROUP_UDP{4,6}_RECVMSG
attach types. This is done and preferred as an extra patch in order
to ease sync of libbpf.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h

index 63e0cf66f01a9698ff6bc41ac5492809bb83d834..e4114a7e44511bf35451ec9230b1b3efbd1a91ba 100644 (file)
@@ -192,6 +192,8 @@ enum bpf_attach_type {
        BPF_LIRC_MODE2,
        BPF_FLOW_DISSECTOR,
        BPF_CGROUP_SYSCTL,
+       BPF_CGROUP_UDP4_RECVMSG,
+       BPF_CGROUP_UDP6_RECVMSG,
        __MAX_BPF_ATTACH_TYPE
 };