* basic_filters.c (parse_set, parse_syscall_set): Use set inversion only in
qualify mode.
* filter.h (parse_filter_action, parse_qualify_action,
parse_filter_expression): Add new declarations.
* filter_action.c (parse_filter_action): Add new parsing function.
(filtering_parse_finish): Use filtering
On Sat, Aug 12, 2017 at 03:22:24AM +0300, Dmitry V. Levin wrote:
> On Thu, Aug 10, 2017 at 09:03:22AM +0800, JingPiao Chen wrote:
> > Note:
> >
> > rule:
> > Before v2.6.18-284-g14c0b97, rule carry struct rtmsg,
> > now carry struct fib_rule_hdr.
> >
> > $ man 7 rtnetlink # or read the old kernel
On Sat, Aug 12, 2017 at 03:22:24AM +0300, Dmitry V. Levin wrote:
> On Thu, Aug 10, 2017 at 09:03:22AM +0800, JingPiao Chen wrote:
> > Note:
> >
> > rule:
> > Before v2.6.18-284-g14c0b97, rule carry struct rtmsg,
> > now carry struct fib_rule_hdr.
> >
> > $ man 7 rtnetlink # or read the old kernel
On Sat, Aug 12, 2017 at 03:22:24AM +0300, Dmitry V. Levin wrote:
> On Thu, Aug 10, 2017 at 09:03:22AM +0800, JingPiao Chen wrote:
> > Note:
> >
> > rule:
> > Before v2.6.18-284-g14c0b97, rule carry struct rtmsg,
> > now carry struct fib_rule_hdr.
> >
> > $ man 7 rtnetlink # or read the old kernel
On Sat, Aug 12, 2017 at 03:05:15AM +0300, Dmitry V. Levin wrote:
> On Thu, Aug 10, 2017 at 09:04:52AM +0800, JingPiao Chen wrote:
> > * rtnl_addr.c: New file.
> > * Makefile.am (strace_SOURCES): Add it.
> > * configure.ac (AC_CHECK_HEADERS): Add linux/if_addr.h.
> > * netlink_route.h (decode_ifaddr
On Sat, Aug 12, 2017 at 11:33:51PM +0800, JingPiao Chen wrote:
> On Sat, Aug 12, 2017 at 03:05:15AM +0300, Dmitry V. Levin wrote:
> > On Thu, Aug 10, 2017 at 09:04:52AM +0800, JingPiao Chen wrote:
> > > * rtnl_addr.c: New file.
> > > * Makefile.am (strace_SOURCES): Add it.
> > > * configure.ac (AC_
On Sat, Aug 12, 2017 at 11:32:57PM +0800, JingPiao Chen wrote:
> On Sat, Aug 12, 2017 at 03:22:24AM +0300, Dmitry V. Levin wrote:
> > On Thu, Aug 10, 2017 at 09:03:22AM +0800, JingPiao Chen wrote:
> > > Note:
> > >
> > > rule:
> > > Before v2.6.18-284-g14c0b97, rule carry struct rtmsg,
> > > now c
On Fri, Aug 11, 2017 at 05:43:46PM +0700, Nikolay Marchuk wrote:
> * tests/filtering_syscall-syntax.test: New file.
> * tests/syntax.sh: New file.
> * tests/options-syntax.test: Move syscall syntax testing to
> filtering_syscall-syntax.test. Move check_* functions to syntax.sh.
> * tests/Makefile.a
* rtnl_addr.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* configure.ac (AC_CHECK_HEADERS): Add linux/if_addr.h.
* netlink_route.h (decode_ifaddrmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELADDR,
RTM_GETADDR, RTM_GETANYCAST, RTM_GETMULTICAST add RTM_NEWADDR.
* xlat/if
* tests/netlink_route.c: Include .
(test_rtnl_addr): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 0a52dbc..872c236 100644
---
Changes in v2:
addr:
using printxval print ifa_scope.
route:
* decode rtmsg.rtm_table and rtmsg.rtm_scope do not print default string.
* renamed xlat/rtm*.in to xlat/routing_*.in
rule: big change
neigh:
* xlat/neighbor_cache_entry_states.in add new entry.
JingPiao Chen (25):
netlink: add a b
* defs.h (routing_scopes): New xlat prototype.
* netlink_route.c: New file.
* Makefile.am (strace_SOURCES): Add it
* netlink_route.h (decode_rtmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELROUTE,
RTM_GETROUTE, and RTM_NEWROUTE.
* xlat/ip_type_of_services.in: New file.
* xlat/r
* tests/netlink_route.c (test_rtnl_neightbl): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 62d5570..929902a 100644
--- a/tests/netlink_
* rtnl_tc_action.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_tcamsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELACTION,
RTM_GETACTION and RTM_NEWACTION.
Co-authored-by: Fabien Siron
---
Makefile.am | 1 +
netlink_route.c | 6 +-
* rtnl_neightbl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_ndtmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_GETNEIGHTBL,
RTM_NEWNEIGHTBL and RTM_SETNEIGHTBL.
Co-authored-by: Fabien Siron
---
Makefile.am | 1 +
netlink_route.c | 6 +
* tests/netlink_route.c (test_rtnl_tc): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 929902a..887e904 100644
--- a/tests/netlink
* rtnl_neigh.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_ndmsg, decode_rtm_getneigh): New prototypes.
* configure.ac (AC_CHECK_HEADERS): Add linux/neighbour.h.
* netlink_route.c (route_decoders): Add RTM_DELNEIGH,
RTM_DELNEIGH and RTM_NEWNEIGH.
* xlat/nda_types.in
* defs.h (routing_table_ids): New xlat prototype.
* netlink_route.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (ip_type_of_services,
routing_table_ids): New xlat prototypes.
* netlink_route.h (decode_fib_rule_hdr): New prototype.
* configure.ac (AC_CHECK_HEADERS): Add linux/fib_rul
* rtnl_tc.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_tcmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELQDISC,
RTM_GETQDISC, RTM_NEWQDISC, RTM_DELTCLASS, RTM_GETTCLASS,
RTM_NEWTCLASS, RTM_DELTFILTER, RTM_GETTFILTER and RTM_NEWTFILTER.
Co-autho
* tests/netlink_route.c: Include .
(test_rtnl_route): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 872c236..ff68579 1006
* tests/netlink_route.c: Include .
(test_rtnl_neigh): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 24
1 file changed, 24 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 9996f94..62d5570 100644
---
* tests/netlink_route.c: Include .
(test_rtnl_rule): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index ff68579..9996f94 10
* tests/netlink_route.c (test_rtnl_tca): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 887e904..b45eb39 100644
--- a/tests/netlink_route
* tests/netlink_route.c: Include .
(test_rtnl_addrlabel): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index b45eb39..3023c6c 1
* rtnl_dcb.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_dcbmsg): New prototype.
* configure.ac (AC_CHECK_HEADERS): Add linux/dcbnl.h.
(AC_CHECK_TYPES): Check for struct dcbmsg in .
* netlink_route.c (route_decoders): Add RTM_GETDCB and RTM_SETDCB.
* xlat/dcb_comman
* rtnl_netconf.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_netconfmsg): New prototype.
* configure.ac (AC_CHECK_HEADERS): Add linux/netconf.h.
(AC_CHECK_TYPES): Check for struct netconfmsg in .
* netlink_route.c (route_decoders): Add RTM_GETNETCONF and RTM_NEWNETC
* rtnl_addrlabel.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_ifaddrlblmsg): New prototype.
* configure.ac (AC_CHECK_HEADERS): Add linux/if_addrlabel.h.
(AC_CHECK_TYPES): Check for struct ifaddrlblmsg in .
* netlink_route.c (route_decoders): Add RTM_DELADDRLABEL,
R
* tests/netlink_route.c: Include .
(test_rtnl_dcb): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 3023c6c..e69d06d 100644
--- a/t
* rtnl_mdb.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_br_port_msg): New prototype.
* configure.ac (AC_CHECK_TYPES): Check for struct br_port_msg
in .
* netlink_route.c (route_decoders): Add RTM_DELMDB,
RTM_GETMDB and RTM_NEWMDB.
Co-authored-by: Fabien Siron
---
* tests/netlink_route.c: Include
and .
(test_rtnl_mdb): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 99ab7d7..14e6a4c 100644
---
* tests/netlink_route.c: Include .
(test_rtnl_netconf): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index e69d06d..99ab7d7 100644
---
* rtnl_nsid.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_rtgenmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELNSID,
RTM_GETNSID and RTM_NEWNSID.
Co-authored-by: Fabien Siron
---
Makefile.am | 1 +
netlink_route.c | 6 +-
netlink_rou
* tests/netlink_route.c (test_rtnl_nsid): New function.
(main): Use it.
Co-authored-by: Fabien Siron
---
tests/netlink_route.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tests/netlink_route.c b/tests/netlink_route.c
index 14e6a4c..bbe4f4e 100644
--- a/tests/netlink_
---
NEWS | 3 +++
1 file changed, 3 insertions(+)
diff --git a/NEWS b/NEWS
index ad237e2..702e5d8 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,9 @@ Noteworthy changes in release ?.?? (-??-??)
* Implemented basic protocol specific decoding of NETLINK_CRYPTO.
* Implemented decoding of crypto
34 matches
Mail list logo