commit | b42f6b39037eb9cfba87aa091ed86f0095f4adab | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sun Jul 17 23:51:39 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Jul 19 17:46:33 2016 +0000 |
tree | d80c69ffd61ac2f180e6c5c316d40e8ffa628350 | |
parent | 0485ab5e23aa3cbc35d7dff4e55d28c58c25a1be [diff] |
Fix decoding of msg_name* fields of recvmmsg syscall's msghdr array argument As msg_namelen fields of recvmmsg syscall's struct msghdr array have the same read-write semantics as struct msghdr argument of recvmsg syscall, parser of recvmmsg syscall needs a similar fix. * mmsghdr.c (print_struct_mmsghdr): Increment p_user_msg_namelen field. (mmsgvec_data): New structure. (free_mmsgvec_data, save_mmsgvec_namelen): New functions. (decode_mmsgvec): Take into account the data saved by save_mmsgvec_namelen function. (SYS_FUNC(recvmmsg)): Use save_mmsgvec_namelen.
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.