[PATCH 2/2] bpf: update BPF constants

Eugene Syromiatnikov esyr at redhat.com
Mon Nov 25 17:17:22 UTC 2019

On Mon, Nov 25, 2019 at 05:52:19PM +0100, Paul Chaignon wrote:
> * xlat/bpf_prog_types.in (BPF_PROG_TYPE_CGROUP_SOCK_ADDR): New constant
> introduced by Linux commit v4.17-rc1~148^2~19^2^2~6.
> BPF_PROG_TYPE_CGROUP_SOCKOPT): Update constant values following missing
> entry in enum.
> * tests/bpf.c (BPF_PROG_LOAD_checks): Update expected outputs.
> * tests/kernel_version.c (print_bpf_attr, main): Likewise.
> Signed-off-by: Paul Chaignon <paul.chaignon at gmail.com>

Fixes: v4.24~49 "xlat: update bpf(2)-related constants"
Fixes: v4.25~58 "xlat: add BPF_PROG_TYPE_SK_REUSEPORT to bpf_prog_types.in"
Fixes: v4.26~12 "xlat: add flow dissector bpf program type constants"
Fixes: v5.2~38 "xlat: update BPF_* constants"
Fixes: v5.3~60 "xlat: update BPF_* constants"

The fact that this discrepancy hasn't been caught by the strace's test
suite is quite concerning.

More information about the Strace-devel mailing list