]> granicus.if.org Git - strace/commitdiff
xlat: add eBPF-based device controller constants
authorEugene Syromyatnikov <evgsyr@gmail.com>
Tue, 20 Feb 2018 18:48:08 +0000 (19:48 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 5 Mar 2018 15:03:37 +0000 (15:03 +0000)
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.

NEWS
xlat/bpf_attach_type.in
xlat/bpf_prog_types.in

diff --git a/NEWS b/NEWS
index ded7d82b939ad15f70e72c9abc3e2ea7d08534e6..8c777a302d828a111e13f80e98ebac5892e19900 100644 (file)
--- 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
index 162e6f56e7d2cca7624239d4efbf9c1148c5e6c6..ad912b7f081760958837b4747f456f3f70ab91c5 100644 (file)
@@ -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
index 1ae02ddf5c1ab23ff52c441882bbe1e6bdc2a793..8038c9ecb2b2bbb60bc10c33105b176ff4620524 100644 (file)
@@ -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