Re: [strace PATCH 01/12] Add compat support for s390x

2018-01-18 Thread Dmitry V. Levin
On Thu, Jan 18, 2018 at 07:16:35AM +0100, Eugene Syromyatnikov wrote: > By very popular demand. > > While we are here, let's refactor the condition for old_mmap_pgoff into > an arch-specific one, as it is used more than in one place. > > * NEWS: Mention this. > * configure.ac (case "$host_cpu" in

Re: strace requires gawk 4 but doesn't test for it

2018-01-18 Thread DJ Delorie
Thanks! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Strace-devel mailing list Strace-devel

[PATCH 4/4] tests: add check for decoding of netfilter subsystem

2018-01-18 Thread Chen Jingpiao
* tests/netlink_netfilter.c(test_nfgenmsg): Add check for decoding of netfilter subsystem. --- tests/netlink_netfilter.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/tests/netlink_netfilter.c b/tests/netlink_netfilter.c index e2cecd6..1d20320 1006

[PATCH 3/4] nfnetlink: introduce generic netfilter subsystem decoder

2018-01-18 Thread Chen Jingpiao
* defs.h (nl_netfilter_msg_types): New xlat prototype. * netlink_netfilter.c: Include "nlattr.h". (decode_netlink_netfilter): Call decode_nlattr. --- defs.h | 1 + netlink_netfilter.c | 11 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/defs.h b/defs.h in

[PATCH 2/4] tests: add check for NETLINK_NETFILTER parser

2018-01-18 Thread Chen Jingpiao
* tests/netlink_netfilter.c: Include , and . Replace "netlink.h" with "test_netlink.h". (NFNL_SUBSYS_NFTABLES, NFT_MSG_NEWTABLE): New macros. (test_nlmsg_done, test_nfgenmsg): New functions. (main): Use them. --- tests/netlink_netfilter.c | 115 +- 1 fi

[PATCH 0/4] netlink: introduce NETLINK_NETFILTER parser

2018-01-18 Thread Chen Jingpiao
xlat/nl_netfilter_subsys_ids.h is included twice because netlink.c and netlink_netfilter.c are use NFNL_SUBSYS_* constants defined. we call generic netfilter subsystem decoder ignore msg_type range. If this design is incorrect, I will drop this patch. Following kernel commits will help the review

[PATCH 1/4] netlink: introduce NETLINK_NETFILTER parser

2018-01-18 Thread Chen Jingpiao
* netlink_netfilter.c: New file. * Makefile.am (strace_SOURCES): Add it. * defs.h (decode_netlink_netfilter): New prototype. * netlink.c (netlink_decoders): Add NETLINK_NETFILTER. * xlat/netfilter_versions.in: New file. --- Makefile.am| 1 + defs.h | 1 + netl

Re: strace requires gawk 4 but doesn't test for it

2018-01-18 Thread Eugene Syromiatnikov
On Fri, Jan 05, 2018 at 04:15:10PM -0500, DJ Delorie wrote: > > "Dmitry V. Levin" writes: > > checking whether mpers.sh -m32 works... gawk: ./mpers.awk:42: > > array_return = array[array_idx][array_member] > > gawk: ./mpers.awk:42: ^ syntax error > > ... > > no

[RFC PATCH] mpers.awk: enable support for gawk 3

2018-01-18 Thread Eugene Syromyatnikov
--- mpers.awk | 132 +++--- 1 file changed, 58 insertions(+), 74 deletions(-) diff --git a/mpers.awk b/mpers.awk index 6545052..8374b3b 100644 --- a/mpers.awk +++ b/mpers.awk @@ -27,19 +27,10 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING