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
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
* 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
* 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
* 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
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
* 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
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
---
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