* netlink.c (decode_netlink): Call printstrn
when family == NETLINK_KOBJECT_UEVENT.
---

sent a week ago.

 netlink.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/netlink.c b/netlink.c
index a853fbd..aaa3e07 100644
--- a/netlink.c
+++ b/netlink.c
@@ -438,6 +438,12 @@ decode_netlink(struct tcb *const tcp,
               kernel_ulong_t len)
 {
        const int family = get_fd_nl_family(tcp, fd);
+
+       if (family == NETLINK_KOBJECT_UEVENT) {
+               printstrn(tcp, addr, len);
+               return;
+       }
+
        struct nlmsghdr nlmsghdr;
        bool print_array = false;
        unsigned int elt;
-- 
2.7.4


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to