From: Eugene Syromyatnikov Date: Tue, 20 Feb 2018 18:48:08 +0000 (+0100) Subject: xlat: add eBPF-based device controller constants X-Git-Tag: v4.22~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f0842fe61f01f300aeee539cc83164b0dfd25d5;p=strace xlat: add eBPF-based device controller constants Add new BPF_PROG_TYPE_CGROUP_DEVICE eBPF program type and new BPF_CGROUP_DEVICE eBPF program attach type, added in Linux commit v4.15-rc1~84^2~120^2~2. * xlat/bpf_attach_type.in (BPF_CGROUP_DEVICE): New constant. * xlat/bpf_prog_types.in (BPF_PROG_TYPE_CGROUP_DEVICE): Likewise. * NEWS: Mention it. --- diff --git a/NEWS b/NEWS index ded7d82b..8c777a30 100644 --- a/NEWS +++ b/NEWS @@ -13,7 +13,7 @@ Noteworthy changes in release ?.?? (????-??-??) in brackets. * Enhanced NETLINK_ROUTE protocol decoding. * Updated lists of signal codes. - * Updated lists of BTN_*, ETH_P_*, INET_DIAG_BC_*, KEY_*, POLL*, RWF_*, + * Updated lists of BPF_*, BTN_*, ETH_P_*, INET_DIAG_BC_*, KEY_*, POLL*, RWF_*, SCHED_FLAG_*, and SCTP_* constants. * Implemented block/character device number printing in -yy mode. * Known pixel/SDR format names are printed as comments for pixelformat fields diff --git a/xlat/bpf_attach_type.in b/xlat/bpf_attach_type.in index 162e6f56..ad912b7f 100644 --- a/xlat/bpf_attach_type.in +++ b/xlat/bpf_attach_type.in @@ -4,3 +4,4 @@ BPF_CGROUP_INET_SOCK_CREATE 2 BPF_CGROUP_SOCK_OPS 3 BPF_SK_SKB_STREAM_PARSER 4 BPF_SK_SKB_STREAM_VERDICT 5 +BPF_CGROUP_DEVICE 6 diff --git a/xlat/bpf_prog_types.in b/xlat/bpf_prog_types.in index 1ae02ddf..8038c9ec 100644 --- a/xlat/bpf_prog_types.in +++ b/xlat/bpf_prog_types.in @@ -13,3 +13,4 @@ BPF_PROG_TYPE_LWT_OUT 11 BPF_PROG_TYPE_LWT_XMIT 12 BPF_PROG_TYPE_SOCK_OPS 13 BPF_PROG_TYPE_SK_SKB 14 +BPF_PROG_TYPE_CGROUP_DEVICE 15