commit | 10c61e3b2213a63f3b5ada623cd17968d22f99b3 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Feb 19 01:30:34 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Feb 19 01:44:33 2016 +0000 |
tree | 64067b9e9c89d5fa20ed2b18b3581699e514b01f | |
parent | f20304b6aea91e48fb41f2fb9e19bfcf05e06e6e [diff] |
Change unix_diag requests back to use full dump instead of exact match Unfortunately, 64-bit linux kernel has a bug in matching inode numbers greater than INT_MAX, so unix_diag exact match is not reliable. This partially reverts commit 69bfc89770152033d4aa0bc5673fc46e65d89838. * socketutils.c (unix_send_query): Add NLM_F_DUMP to nlmsg_flags, remove initialization of udiag_cookie. * tests/netlink_unix_diag.c (send_query): Remove "inode" argument, add NLM_F_DUMP to nlmsg_flags, remove initialization of udiag_ino and udiag_cookie. (check_responses): Remove "inode" argument and its use. (main): Remove invocation of inode_of_sockfd and passing of listening socket inode to send_query and check_responses.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.