b755614143ce6aab5265ed32c1bb6c8f748e7898 |
|
21-Feb-2018 |
Elliott Hughes <enh@google.com> |
Update strace to 4.21. Noteworthy changes in release 4.21 (2018-02-13) =============================================== * Changes in behaviour * Warning is now issued when -F option is used. * Warning is now issued when a tracee with unsupported personality is attached. * Unknown syscall numbers are now printed in hexadecimal form. * Improvements * Implemented decoding of netlink descriptor attributes as file descriptors. * Implemented decoding of hugetlb page size selection flags. * Implemented decoding of BPF_PROG_TEST_RUN, BPF_PROG_GET_NEXT_ID, BPF_MAP_GET_NEXT_ID, BPF_PROG_GET_FD_BY_ID, BPF_MAP_GET_FD_BY_ID, and BPF_OBJ_GET_INFO_BY_FD commands of bpf syscall. * Enhanced decoding of get_thread_area, memfd_create, modify_ldt, perf_event_open, reboot, s390_guarded_storage, s390_pcio_mmio_read, s390_pci_mmio_write, s390_runtime_instr, s390_sthyi, set_thread_area, and shmget syscalls. * Implemented decoding of KVM_* and DM_LIST_DEVICES ioctl commands. * Implemented decoding of riscv_flush_icache syscall. * Enhanced decoding of getsockopt and setsockopt syscalls for SOL_NETLINK level. * Enhanced decoding of BPF_MAP_CREATE command of bpf syscall. * Print values returned by mq_open syscall and first arguments of mq_getsetattr, mq_notify, mq_timedreceive, and mq_timedsend syscalls as file descriptors. * Added decoding of get_tls syscall on arm. * Added -e trace=%pure option for tracing system calls with no arguments that never fail. * Updated lists of IPV6_*, MAP_*, MEMBARRIER_CMD_*, MSG_*, NT_*, PKEY_*, SHM_*, and TCP_* constants. * Added manual page for the strace-log-merge command. * Updated lists of ioctl commands from Linux 4.15. * Implemented biarch support for s390x. * Implemented an optional support for symbol demangling in strace -k output (activated by --with-libiberty configure option). * Information about availability of demangling and reliable personality decoding (on architectures with multiple personalities) is now available in strace -V output. * Added decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls on powerpc and powerpc64. * Enhanced manual page. * Bug fixes * Fixed multi-personality support in cross builds. * Added mq_getsetattr, mq_notify, mq_open, mq_timedreceive, and mq_timedsend syscalls to %desc tracing set. * Fixed path tracing support for mmap syscalls with indirect arguments and for old select syscall. * Fixed decoding of arm-specific (__ARM_NR_*) syscalls. * Fixed open mode flags decoding. * Fixed corner cases in handling of strace -ff -ttt logs by strace-log-merge. * Error counts that exceed one billion are now printed correctly in call summary output. * Fixed call summary header for x32 personality. * Changes of tracee personalities are reported more reliably. * Fixed the case when strace attaches to a tracee being inside exec and its first syscall stop is syscall-exit-stop instead of syscall-enter-stop, which messed up all the syscall state tracking. * Fixed printing of higher 32 bits of the return value for x32 personality. * Portability * A C compiler that supports "for" loop initial declarations is now required. * Inability to configure multiple personality support on architectures where multiple personalities are supported leads to configuration failure during build now. Use --enable-mpers=check to revert to the old behaviour. * Build-time requirement for the mpers support has been lowered from gawk 4 to gawk 3. * Removed incomplete and non-functional support for the CRIS architecture. * Removed incomplete and unused support for IA-32 mode on the IA-64 architecture. Bug: N/A Test: strace -f date Change-Id: I126eec18d7309a89f5a75dcab6498c99bb099836
/external/strace/msghdr.c
|
77c3ff8e0644f1e120e4b2ebc7222150b0446f3b |
|
09-Sep-2017 |
Elliott Hughes <enh@google.com> |
Update strace to 4.19. Noteworthy changes in release 4.19 (2017-09-05) =============================================== * Changes in behaviour * Changed formatting of personality names on tile architecture in order to make it in line with other multi-personality architectures. * Changed field output order in struct v4l2_requestbuffers to improve in/out field formatting. * Changed handling of multiple signal= specifications in an injection expression: multiple specification now leads to error instead of implicit usage the last specification. * Improvements * Enhanced decoding of optlen argument of getsockopt syscall. * Enhanced decoding of SO_LINGER option of getsockopt and setsockopt syscalls. * Enhanced decoding of SO_PEERCRED option of getsockopt syscall. * Enhanced decoding of IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP, IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST, MCAST_JOIN_GROUP, and MCAST_LEAVE_GROUP options of setsockopt syscall. * Enhanced decoding of KEYCTL_DH_COMPUTE operation of keyctl syscall (KDF parameters decoding). * Implemented decoding of KEYCTL_RESTRICT_KEYRING operation of keyctl syscall. * Enhanced decoding of UFFDIO_API ioctl command. * Enhanced decoding of BPF_PROG_LOAD, BPF_MAP_CREATE, BPF_MAP_LOOKUP_ELEM, and BPF_MAP_GET_NEXT_KEY commands of bpf syscall. * Implemented decoding of linux socket filter programs specified for SO_ATTACH_FILTER and SO_ATTACH_REUSEPORT_CBPF socket options. * Implemented decoding of inet_diag_req_v2, inet_diag_req_compat, packet_diag_msg, and smc_diag_msg netlink attributes of NETLINK_SOCK_DIAG. * Implemented NETLINK_SELINUX protocol specific decoding. * Implemented decoding of netlink message ack flags. * Implemented decoding of nlmsgerr netlink attributes. * Implemented basic protocol specific decoding of NETLINK_CRYPTO. * Implemented decoding of crypto_user_alg netlink attributes of NETLINK_CRYPTO. * Implemented basic protocol specific decoding of addr, addrlabel, dcb, link, mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages of NETLINK_ROUTE. * Implemented decoding of NETLINK_KOBJECT_UEVENT messages. * Improved handling of unexpected tracees (the ones that cloned with CLONE_PARENT/CLONE_PTRACE or called PTRACE_TRACEME on themselves): they are now PTRACE_DETACH'ed instead of PTRACE_CONT'ed. * Updated lists of BPF_*, KEY_*, RWF_*, SCM_*, SO_*, and *_MAGIC constants. * Added decoding of arch_prctl syscall on x86. * Added decoding of seccomp, bpf, userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2, and statx on alpha. * Added decoding of statx syscall on microblaze. * Added decoding of s390_guarded_storage syscall on s390. * Updated lists of ioctl commands from Linux 4.13. * Enhanced manual page. * Bug fixes * Fixed printing of group_req structure on non-native personalities. * Fixed output formatting of blkpg_ioctl_arg, dm_name_list, and iocb structures. * Fixed formatting of nul-terminated strings which have kernel-imposed size limit. * Fixed printing of paths that hit PATM_MAX limit in order to match kernel's behaviour. * Fixed build warnings on Android mips64. * Fixed unused function "is_negated_errno" build warning when built with clang. * Fixed syscall number and arguments retrieval behaviour on sparc64 and mips o32 after prctl(PR_SET_DUMPABLE, 0) makes PTRACE_PEEKTEXT impossible to use if Linux kernel has commit v4.10-rc1~114^2~2. * Fixed path tracing for execveat, symlink, symlinkat, inotify_add_watch, and inotify_init syscalls. * Fixed personality switch printing on sparc64 and risc-v. Bug: N/A Test: strace date Change-Id: Idd0ba3efc3fe14dad8aa7b3859045b00d4e6749d
/external/strace/msghdr.c
|
dc75b01004a0588c1eb3bc26d7248a6e473b2cdd |
|
05-Jul-2017 |
Elliott Hughes <enh@google.com> |
Update strace to 4.18. Noteworthy changes in release 4.18 (2017-07-05) =============================================== * Improvements * Implemented decoding of SCM_TIMESTAMP* control messages. * Implemented decoding of netlink NLMSG_DONE messages. * Implemented decoding of netlink generic nlmsg_type and nlmsg_flags. * Implemented decoding of NETLINK_AUDIT, NETLINK_NETFILTER, NETLINK_ROUTE, NETLINK_SELINUX, NETLINK_SOCK_DIAG, and NETLINK_XFRM message types. * Implemented decoding of NETLINK_GENERIC protocol families. * Implemented basic protocol specific decoding of AF_INET, AF_INET6, AF_NETLINK, AF_PACKET, AF_SMC, and AF_UNIX messages of NETLINK_SOCK_DIAG. * Implemented basic decoding of netlink attributes. * Implemented basic protocol specific decoding of AF_INET, AF_NETLINK, AF_PACKET, AF_SMC, and AF_UNIX netlink attributes of NETLINK_SOCK_DIAG. * Implemented decoding of inet_diag_msg, netlink_diag_msg, and unix_diag_msg netlink attributes of NETLINK_SOCK_DIAG. * Updated lists of ARPHRD_*, KEYCTL_*, NDIAG_SHOW_*, RTM_*, SCM_*, SCTP_*, SO_*, V4L2_*, and prctl ARCH_* constants. * Updated lists of ioctl commands from Linux 4.12. * Bug fixes * In interactive mode (-I2), those signals that were blocked at startup will remain blocked for the whole period of strace execution. * strace no longer resets SIGCHLD handler in tracees to the default action. * When traced command is terminated by a blocked signal, strace unblocks that signal to ensure its own termination with the same signal. * Fixed corner cases in decoding of old sigaction syscall. * Fixed build with old kernel headers on mips. * Fixed build on aarch64 and tile with glibc >= 2.26. * Fixed build on arc and nios2. Bug: N/A Test: strace date Change-Id: Ib34873ff60824b04f67332380c3460721f66002e
/external/strace/msghdr.c
|
d35df493b4e7684c50d2d2fa032ee3a7ac228009 |
|
16-Feb-2017 |
Elliott Hughes <enh@google.com> |
Upgrade strace to 4.16 from 4.14. Noteworthy changes in release 4.16 (2017-02-14) * Improvements * Implemented syscall return value injection (-e inject=SET:retval= option). * Implemented signal injection (-e inject=SET:signal= option). * Implemented decoding of SUID_DUMP_* constants in PR_[GS]ET_DUMPABLE. * Implemented decoding of all SG_* ioctl commands. * Implemented decoding of ustat syscall. * Implemented decoding of BPF_OBJ_PIN, BPF_OBJ_GET, BPF_PROG_ATTACH, and BPF_PROG_DETACH commands of bpf syscall. * Enhanced decoding of sg_io_hdr and sg_io_v4 structures. * Enhanced decoding of get_robust_list, getrandom, io_submit, set_robust_list syscalls. * Enhanced decoding of entities of kernel long type on x32 and mips n32 ABIs. * Updated lists of IP_*, IPV6_*, and LOOP_* constants. * Updated lists of ioctl commands from Linux 4.10. * Added decoding of recently added syscalls on avr32, microblaze, ppc, and ppc64. * Bug fixes * Fixed pathmatch of oldselect syscall on 64-bit architectures. * Fixed decoding of mmap2 syscall on s390 when arguments are not available. * Fixed decoding of kexec_file_load, mprotect, pkey_mprotect, prctl, preadv*, and pwritev* syscalls on x32. * Fixed printing of string arguments of getxattr and setxattr syscalls when -s option is used to limit the printed string size. * Fixed decoding of ifconf, ifreq, and loop_info structures on non-native personalities. * Fixed decoding of SG_* and LOOP_* ioctl commands. * Fixed build on mips with musl libc. * Fixed cross-building of ioctlsort. * Applied minor formatting fixes to the manual page. Noteworthy changes in release 4.15 (2016-12-14) * Changes in behavior * Time stamps are now printed according to ISO 8601. * Changed output format of val3 parameter of futex FUTEX_WAKE_OP operation. * The last argument of mincore, sched_getaffinity, and sched_setaffinity syscalls is now formatted as an array. * Improvements * Implemented syscall fault injection (-e fault=... option). * Implemented decoding of DM_* ioctl commands. * Implemented decoding of attr parameter of perf_event_open syscall. * Implemented decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls. * Implemented dumping of mq_timedsend and mq_timedreceive syscalls. * Implemented decoding of PR_SET_FP_MODE and PR_GET_FP_MODE operations of prctl syscall. * Implemented PTRACE_GETREGS API support on m68k. * Updated lists of ARCH_*, BPF_*, BTRFS_*, FALLOC_*, MS_*, *_MAGIC, and V4L2_* constants. * Updated lists of ioctl commands from Linux 4.9. * Added decoding of recently added syscalls on arc, x32, and xtensa. * Enhanced manual page. * Bug fixes * Fixed corner cases in decoding of exit, exit_group, futimesat, getgroups, getresuid, init_module, inotify_init1, kcmp, kexec_load, lookup_dcookie, mq_getsetattr, mq_notify, mq_open, mq_timedreceive, mq_timedsend, name_to_handle_at, prctl, process_vm_readv, process_vm_writev, setfsuid, setgroups, setns, unshare, and utimes syscalls. * Fixed handling of verbose flag in printing of controls array of struct v4l2_ext_controls. * Fixed omission of field names in the output of capability, sigaction, sigevent, statfs, timespec, timeval, and utimbuf structures. * Fixed printing of unknown syscalls in siginfo structure. * Fixed decoding of ioctl constants on m68k. * Fixed cris architecture support. * Fixed cross build when host compiler does not support the same set of warning flags as the cross compiler. * Fixed build on SLE10 and SLE11. Bug: N/A Test: manual Change-Id: I590bf5db1652aa1dfdc0eb16e30fd97c82af2261
/external/strace/msghdr.c
|
8da9668b1ba68ec71ad4d3dd96f9c73ca38430ca |
|
16-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Use IOV_MAX instead of UIO_MAXIOV IOV_MAX appears to be more portable than UIO_MAXIOV. * msghdr.c: Include <limits.h>. Remove fallback defintion of UIO_MAXIOV. (get_optmem_max): Replace UIO_MAXIOV with IOV_MAX. * tests/msg_control.c: Likewise.
/external/strace/msghdr.c
|
b759d276d53cbac1f60895c7e674b63f841f6d5d |
|
15-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Unabuse struct tcb.auxstr As we've got a proper mechanism that parsers can use for storing private data between entering and exiting stages, all cases of struct tcb.auxstr abuse should go. * btrfs.c (btrfs_ioctl): Use set_tcb_priv_ulong and get_tcb_priv_ulong instead of abusing tcp->auxstr. * file_handle.c (SYS_FUNC(name_to_handle_at)): Likewise. * msghdr.c (SYS_FUNC(recvmsg)): Likewise. * net.c (decode_sockname, SYS_FUNC(recvfrom)): Likewise. * v4l2.c (print_v4l2_queryctrl): Likewise.
/external/strace/msghdr.c
|
dc84fa3646f6a4f9e81d47059fe0c84a9b70f3b4 |
|
15-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
net.c: move parsers of sendmsg and recvmsg syscalls to msghdr.c * defs.h (fetch_msghdr_namelen, decode_msghdr): Remove. * net.c (SYS_FUNC(sendmsg), SYS_FUNC(recvmsg)): Move ... * msghdr.c: ... here. (fetch_msghdr_namelen, decode_msghdr): Add static qualifier.
/external/strace/msghdr.c
|
7c37ce4055248e4d44f4c5b0a1c88ca0b9fdb9df |
|
15-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: move all mmsghdr parsers to a separate file * msghdr.h (print_struct_msghdr): New prototype. * msghdr.c (print_msghdr): Rename to print_struct_msghdr, remove static qualifier, all callers changed. (decode_mmsghdr, decode_mmsgvec, dumpiov_in_mmsghdr): Move to ... * mmsghdr.c: ... new file. * Makefile.am (strace_SOURCES): Add it.
/external/strace/msghdr.c
|
d8f77cdf42bf7215e7e7615b617a1de3d01188fd |
|
13-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
Fix decoding of struct msghdr.msg_name* arguments of recvmsg syscall As the msghdr.msg_namelen argument of recvmsg syscall has the same read-write semantics as the address length argument of recvfrom syscall, parser of recvmsg syscall needs a similar fix. * defs.h (fetch_msghdr_namelen): New prototype. (decode_msghdr): Add "int *" argument. * msghdr.c (print_msghdr): Likewise. Treat it as a pointer to struct msghdr.msg_namelen passed to the kernel. Pass to decode_sockaddr the size of socket address actually returned by the kernel. Print both user and kernel address lengths when the value changes. (decode_msghdr, decode_mmsghdr): Add "int *" argument, forward it to print_msghdr. (decode_mmsgvec): Update decode_mmsghdr invocation. (fetch_msghdr_namelen): New function. * net.c (SYS_FUNC(sendmsg)): Update decode_msghdr invocation. (SYS_FUNC(recvmsg)): Use fetch_msghdr_namelen on entering to save struct msghdr.msg_namelen. On exiting, pass the saved value to decode_msghdr.
/external/strace/msghdr.c
|
2850f745ca49f52b4b1266a6a1b1ec0c58f77c66 |
|
06-Jul-2016 |
Fabien Siron <fabien.siron@epita.fr> |
Add a general netlink socket parser Introduce a general socket netlink parser which prints the header and a string for the remaining part of the buffer. It doesn't handle all the netlink flags and types yet because the parser needs more information, this will be implemented later. * net.c (decode_sockbuf): New function. (SYS_FUNC(send), SYS_FUNC(sendto), SYS_FUNC(recv), SYS_FUNC(recvfrom)): Use it instead of printstr. * msghdr.c (print_msghdr): Pass IOV_DECODE_NETLINK to tprint_iov_upto() for netlink sockets. * netlink.c: New file. * Makefile.am (strace_SOURCES): Add it. * defs.h (decode_netlink, getfdproto): New prototypes. (iov_decode): Add IOV_DECODER_NETLINK. * io.c (print_iovec): Use decode_netlink(). * util.c (getfdproto): Remove static keyword. * xlat/netlink_flags.in: New file. * xlat/netlink_types.in: New file.
/external/strace/msghdr.c
|
bf2698a6b8fa9e78e82ec2acaeef39273e95ab17 |
|
04-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: limit output when printing excessively large messages Limit output of struct msghdr.msg_control when struct msghdr.msg_controllen is greater than the maximum ancillary buffer size specified in /proc/sys/net/core/optmem_max file. * configure.ac (AC_CHECK_FUNCS): Add open64. * defs.h (read_int_from_file): New prototype. * util.c (read_int_from_file): New function. * msghdr.c (get_optmem_max): New function based on read_int_from_file. (decode_msg_control): Use it to check control_len argument. * tests/msg_control.c (test_big_len): New function. (main): Use it to test printing of excessively large messages.
/external/strace/msghdr.c
|
67135824fe8f1a78349e5297bf0db323925376ec |
|
02-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: limit IP_RECVOPTS/IP_RETOPTS output in abbrev mode * msghdr.c (print_cmsg_ip_opts): Do not print more than max_strlen bytes of ip options in abbrev mode. * tests/msg_control.c (print_ip_opts): Use DEFAULT_STRLEN. (test_sol_ip): Test IP_RETOPTS output in abbrev mode.
/external/strace/msghdr.c
|
d35d5ecc4d8ac1bd3617e6f5f85ca738041130eb |
|
02-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: limit SCM_RIGHTS output in abbrev mode * msghdr.c (print_scm_rights): Do not print more than max_strlen descriptors in abbrev mode. * tests/msg_control.c (DEFAULT_STRLEN): New macro. (print_fds): Use it. (test_scm_rights3): New function. (main): Use it to test SCM_RIGHTS output in abbrev mode. * tests/msg_control-v.c: New file. * tests/msg_control-v.test: New test. * tests/.gitignore: Add msg_control-v. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add msg_control-v.test.
/external/strace/msghdr.c
|
df57a9b10808a5bf53c1aea5838b30580576c281 |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: reorganize struct cmsghdr handler * msghdr.c (sock_ee): New structure. (print_scm_rights, print_scm_creds, print_scm_security, print_cmsg_ip_pktinfo, print_cmsg_uint, print_cmsg_ip_opts, print_cmsg_ip_recverr, print_cmsg_ip_origdstaddr): Remove data_len argument validity check, don't print ", cmsg_data=" prefix here. (print_cmsg_ip_tos): Likewise. Rename to print_cmsg_uint8_t. (cmsg_printer): New type. (cmsg_socket_printers, cmsg_ip_printers): New arrays. (print_cmsg_type_data): Use them to handle struct cmsghdr and its cmsg_data.
/external/strace/msghdr.c
|
b7937bd72e354508be941f3f109a3ac6b6f43ecb |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: merge print_cmsg_ip_ttl and print_cmsg_ip_checksum * msghdr.c (print_cmsg_ip_ttl): Rename to print_cmsg_uint. (print_cmsg_ip_checksum): Remove. (print_cmsg_type_data): Replace print_cmsg_ip_ttl and print_cmsg_ip_checksum with print_cmsg_uint.
/external/strace/msghdr.c
|
1d53210514761709628be7a1f5765d039f9ee89b |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: enhance representation of unprintable part of msg_control array * msghdr.c (decode_msg_control): When msg_control array has an unprintable part, print its address.
/external/strace/msghdr.c
|
dfeea6958a797ddc29fe13bc6663a880ec675395 |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: apply a sane limit to the length of IP_ORIGDSTADDR address * msghdr.c (print_cmsg_ip_origdstaddr): Limit address length to the size of struct sockaddr_storage.
/external/strace/msghdr.c
|
029d9797672ce8aabd269626dc2c7d72ac055983 |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: fix printing SCM_RIGHTS array * msghdr.c (print_scm_rights): Do not print array elements outside bounds defined by struct cmsghdr.cmsg_len.
/external/strace/msghdr.c
|
6c30aecaf3a041f09294d46a2d4aa01de0f1987d |
|
01-Jul-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: print unrecognized struct cmsghdr.cmsg_type in hex * msghdr.c (print_cmsg_type_data): Use %#x format when printing struct cmsghdr.cmsg_type as an integer.
/external/strace/msghdr.c
|
db0e6e17b31257c83114b7c83d80178b5715d1e5 |
|
30-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: fix printing of struct in_pktinfo * msghdr.c (print_cmsg_ip_pktinfo): Fix printing of struct in_pktinfo.ipi_addr.
/external/strace/msghdr.c
|
2a897372dbedbb318295e0e64febe422052f32d4 |
|
29-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: fix representation of struct cmsghdr.cmsg_data integer arrays * msghdr.c (print_cmsg_ip_opts): Print struct cmsghdr.cmsg_data as an array of hexadecimal integers. * tests/inet-cmsg.c (print_opts): Update expected output.
/external/strace/msghdr.c
|
17e624cf96103b0c91ec3c7731d27cebacc255e3 |
|
29-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: fix representation of integer struct cmsghdr.cmsg_data values * msghdr.c (print_cmsg_ip_ttl, print_cmsg_ip_tos, print_cmsg_ip_checksum): Print struct cmsghdr.cmsg_data value as an array element. * tests/inet-cmsg.c (print_ttl, print_tos): Update expected output.
/external/strace/msghdr.c
|
08c0960ad516f3005a1dbea155efcef6957d713b |
|
29-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: when printing struct struct cmsghdr.cmsg_data, also print its name * msghdr.c (print_scm_rights, print_scm_creds, print_scm_security, print_cmsg_ip_pktinfo, print_cmsg_ip_ttl, print_cmsg_ip_tos, print_cmsg_ip_checksum, print_cmsg_ip_opts, print_cmsg_ip_recverr, print_cmsg_ip_origdstaddr): Print "cmsg_data=" before its contents. * tests/inet-cmsg.c (print_pktinfo, print_ttl, print_tos, print_opts, print_origdstaddr): Update expected output. * tests/scm_rights-fd.test: Likewise.
/external/strace/msghdr.c
|
a50ec349456c79467d58ced70787a44d4c3d309c |
|
27-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
msghdr.c: print struct mmsghdr as a regular structure * msghdr.c (decode_mmsghdr): Print names of msg_hdr and msg_len fields. * tests/mmsg.c (main): Update expected output.
/external/strace/msghdr.c
|
95cce4f9a641e6d3b6c02df30a6297ed789d6d1b |
|
27-Jun-2016 |
Dmitry V. Levin <ldv@altlinux.org> |
net.c: move all msghdr and mmsghdr parsers to a separate file * defs.h (msg_flags, socketlayers, decode_msghdr, decode_mmsg): New prototypes. * msghdr.c: New file. * Makefile.am (strace_SOURCES): Add it. * net.c: Move all msghdr and mmsghdr parsers to msghdr.c.
/external/strace/msghdr.c
|