On Sat, Jun 24, 2017 at 09:06:06AM +0800, JingPiao Chen wrote: > static int > print_nlmsghdr(struct tcb *tcp, > const int fd, > int family, > const struct nlmsghdr *const nlmsghdr) > { > ... > const int hdr_family = (nlmsghdr->nlmsg_type < NLMSG_MIN_TYPE) > ? NL_FAMILY_DEFAULT > : (family != NL_FAMILY_DEFAULT > ? family : get_fd_nl_family(tcp, fd));
Feel free to change this if NLMSG_DONE needs a family specific decoding. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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