From 1d92e8c7ee58f91945ca97c84bbadeb99883b1083a51b21d2c21a49477481f71 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 16 Jun 2018 14:58:57 +0000 Subject: [PATCH] Accepting request 617219 from home:AndreasSchwab:f - Update to strace 4.23 * Changes in behaviour * On x32 personality, 64-bit syscalls (such as readv) are now shown with "#64" suffix instead of "64:" prefix. * Changed error number output format: error numbers are consistently printed as "-1 ECONST (Error description)" for known errors and as "-1 (errno 123)" for unknown errors, regardless of -e raw qualification settings. * Unfetchable addresses inside arrays are now printed as comments. * Obsolete IA-32 mode syscall names are no longer printed on ia64. * Improvements * Implemented libdw backend for -k option, configured at build time using --with-libdw option. * Added -X option for configuring xlat output formatting (addresses Debian bug #692915). * Added support for personality designation ("64", "32", or "x32") to syscall qualifications in -e trace expressions. * Implemented injection of syscalls with no side effects as an alternative to injection of an invalid syscall (-e inject=SET:syscall= expression). * Improved support for reproducible builds (addresses Debian bug #896016). * Implemented decoding of BPF_PROG_QUERY and BPF_RAW_TRACEPOINT_OPEN bpf syscall commands. * Implemented decoding of INOTIFY_IOC_SETNEXTWD and PERF_EVENT_IOC_* ioctl commands. * Implemented decoding of PR_GET_SPECULATION_CTRL and PR_SET_SPECULATION_CTRL prctl syscall options. * Enhanced decoding of bpf, getsockopt, setsockopt, and socket syscalls. * Enhanced decoding of NETLINK_KOBJECT_UEVENT and NETLINK_ROUTE protocols. * Enhanced decoding of *_DIAG_MEMINFO netlink attributes. * Enhanced decoding of BTRFS_*, FS_IOC_*, SIOCGIFHWADDR, and SIOCSIFHWADDR OBS-URL: https://build.opensuse.org/request/show/617219 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=89 --- strace-4.22.tar.xz | 3 --- strace-4.22.tar.xz.asc | 16 -------------- strace-4.23.tar.xz | 3 +++ strace-4.23.tar.xz.asc | 16 ++++++++++++++ strace.changes | 49 ++++++++++++++++++++++++++++++++++++++++++ strace.spec | 12 +++++++---- 6 files changed, 76 insertions(+), 23 deletions(-) delete mode 100644 strace-4.22.tar.xz delete mode 100644 strace-4.22.tar.xz.asc create mode 100644 strace-4.23.tar.xz create mode 100644 strace-4.23.tar.xz.asc diff --git a/strace-4.22.tar.xz b/strace-4.22.tar.xz deleted file mode 100644 index fa1aae6..0000000 --- a/strace-4.22.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:068cd09264c95e4d591bbcd3ea08f99a693ed8663cd5169b0fdad72eb5bdb39d -size 1232884 diff --git a/strace-4.22.tar.xz.asc b/strace-4.22.tar.xz.asc deleted file mode 100644 index 8d91b2f..0000000 --- a/strace-4.22.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABCAAGBQJaxbo0AAoJEKgEH6g54W42YNkQAImUfckF3FLs7o1YifuVEATC -Fu/s4MJumHeiYUWloIFrf9gjrLo4E3m2Sl6DD1O4aN3cgPzJ5fNMbVNAn1lXtz5O -cG1hbKsBt+crJBsYPthFfgn5/9q93pHhWCA5md8gYkYIc+FJej+3OWk4jjyqH0WF -Gd2yCBVm9vYvpgs6HtVAEMxUtvSdR0nvae3YtKNiCqj6qrRwwU8Vg74wyn71zCgQ -XK74kY/p58tczL0/u+bsPehloQMPpzGaNgcBR8r0jNlZTB/0n4mk4QJYBg/QwTb1 -MZwO1hhd17GXoKampxuYL5ywmrDKLGe5nptsNLzChQJ06OiMDdw0zNB9FWcCXc5p -yttyZUh2LtEWWVK2Cm6KBZTMZXeZ2NuLuV4vgSEHAAcWGAMZnhfAtKPuVlBYYALw -6apsFrG8g+i+oTayGkYeypSD3L5OD/JeX9M1azk1A1hvtjUb4hjOvBLtxJ2gXxqX -yQa1L8kO5JZZVZdZCrOtx2GkyT5iAY4bjs/7JOcJsAfFbkPbHroeXauRHqGppLom -WERhbCEaY/+6ZmTO82rdm16QmADqjRAtWgCkFmgswcqQTFevynbRkGFEGYbJrk0A -isbvgUZLi7RVfaT/8AWYBtEXw+hUMOrJOAHeeATNAvjl8AY8ICvbm453fNUNGn2h -rhETZeykwo9xN+cn7U1E -=HJn+ ------END PGP SIGNATURE----- diff --git a/strace-4.23.tar.xz b/strace-4.23.tar.xz new file mode 100644 index 0000000..b06df11 --- /dev/null +++ b/strace-4.23.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7860a6965f1dd832747bd8281a04738274398d32c56e9fbd0a68b1bb9ec09aad +size 1379128 diff --git a/strace-4.23.tar.xz.asc b/strace-4.23.tar.xz.asc new file mode 100644 index 0000000..c4f0335 --- /dev/null +++ b/strace-4.23.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABCAAGBQJbIq5MAAoJEKgEH6g54W42OTMQAIqDmZcgMmDcbKDyj5iJQwi/ +eimp/+mhqUnjWciedO7i9xkEZEkxHAJ8iLPkeKdotnJtoIolq8RTOlilShGJebWk +iYCErMVOV3K4ozZ+517Fu27B4rvThYlxQxhCyDGGdd5IafAqoP2JgaKk3/lBkYd+ +I/Gj/V5h7XVvhk6zatOncvhqMB73QyAxIa7fWjx9pQd4kG4x4Ebwp7FDczXq6Geg +tE3dkXtSzosAc2nEK+jbjq9Nb8th2zf49CUu/GZyIGrBj4XTUvFfFZLgX6vN3O9S +BT8kpBMAVHxutcHYxcboLrfZ3DdrK3+pmx4XJfDx7JmY2bWjq4ipp/FcDykZLAgF +FvCd3dfNfA+6kmgqbFVWir8LSXqukQOIa04n/lL7gAPBlt4gW7ZFE5LKG+wUR+CA +COx//i2I8fYC6tkVVOLSJUmN55ZIViuuZLXJlWCt8m2bfu4Q2zI3LLqy5UEbKiKj +cxempliZuz7uLSQTHmrMmL/oj2bs4SdC0V8qzbBkDjJAWrMM1HLX+c0aFuqlw61w +6HikIN05F8JTYvTX2pBjfjgXd2wECgls0LMRtTwiVhl+uF5c2h0g/6bXwnb/JEna +mgqywDeVIWpDxHjNJa5MmhCFBCBc1RXyMnBcHSx5lM/oYH57vbluEL8h7xT10JWH +N8+VcxPKmSiDNwKv32yd +=V+iA +-----END PGP SIGNATURE----- diff --git a/strace.changes b/strace.changes index a18386f..e4d0988 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Sat Jun 16 13:55:58 UTC 2018 - schwab@linux-m68k.org + +- Update to strace 4.23 + * Changes in behaviour + * On x32 personality, 64-bit syscalls (such as readv) are now shown with "#64" + suffix instead of "64:" prefix. + * Changed error number output format: error numbers are consistently + printed as "-1 ECONST (Error description)" + for known errors and as "-1 (errno 123)" for unknown errors, + regardless of -e raw qualification settings. + * Unfetchable addresses inside arrays are now printed as comments. + * Obsolete IA-32 mode syscall names are no longer printed on ia64. + * Improvements + * Implemented libdw backend for -k option, configured at build time + using --with-libdw option. + * Added -X option for configuring xlat output formatting (addresses + Debian bug #692915). + * Added support for personality designation ("64", "32", or "x32") to syscall + qualifications in -e trace expressions. + * Implemented injection of syscalls with no side effects as an alternative + to injection of an invalid syscall (-e inject=SET:syscall= expression). + * Improved support for reproducible builds (addresses Debian bug #896016). + * Implemented decoding of BPF_PROG_QUERY and BPF_RAW_TRACEPOINT_OPEN bpf + syscall commands. + * Implemented decoding of INOTIFY_IOC_SETNEXTWD and PERF_EVENT_IOC_* ioctl + commands. + * Implemented decoding of PR_GET_SPECULATION_CTRL and PR_SET_SPECULATION_CTRL + prctl syscall options. + * Enhanced decoding of bpf, getsockopt, setsockopt, and socket syscalls. + * Enhanced decoding of NETLINK_KOBJECT_UEVENT and NETLINK_ROUTE protocols. + * Enhanced decoding of *_DIAG_MEMINFO netlink attributes. + * Enhanced decoding of BTRFS_*, FS_IOC_*, SIOCGIFHWADDR, and SIOCSIFHWADDR + ioctl commands. + * Enhanced decoding of AF_BLUETOOTH socket addresses. + * Implemented decoding of io_pgetevent syscall. + * Wired up rseq syscall. + * Updated lists of ADJ_*, BPF_*, BPF_F_*, BPF_PROG_TYPE_*, ETH_P_*, FPE_*, + IFF_*, IPPROTO_*, MAP_*, MS_*, MSG_*, NETLINK_*, PACKET_*, PROT_*, SCTP_*, + SECCOMP_FILTER_FLAG_*, SEGV_*, SEM_*, SHM_*, SW_*, V4L2_CID_*, + V4L2_CTRL_CLASS_*, and V4L2_PIX_FMT_* constants. + * Updated lists of ioctl commands from Linux 4.17. + * Bug fixes + * Fixed decoding of msgtyp argument of msgrcv syscall. + * Fixed fallback definitions for F_*, MCL_*, MSG_ZEROCOPY, SI_*, + and SOL_SOCKET constants. + * Fixed -e trace=%pure expression on mips. +- Use libdw for unwinding on Leap 15 or later + ------------------------------------------------------------------- Thu Apr 5 13:59:40 UTC 2018 - schwab@suse.de diff --git a/strace.spec b/strace.spec index 1409393..2cf84cc 100644 --- a/strace.spec +++ b/strace.spec @@ -17,7 +17,7 @@ Name: strace -Version: 4.22 +Version: 4.23 Release: 0 Summary: A utility to trace the system calls of a program License: BSD-3-Clause @@ -32,13 +32,17 @@ Source4: baselibs.conf BuildRequires: haveged BuildRequires: libacl-devel BuildRequires: libaio-devel -BuildRequires: lksctp-tools-devel -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} >= 1500 +BuildRequires: libdw-devel +%else # libunwind is broken on ppc and ppc64 and aarch64 %ifarch %ix86 ia64 x86_64 %arm ppc64le BuildRequires: libunwind-devel %endif +%endif +BuildRequires: lksctp-tools-devel +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1140 BuildRequires: sysvinit-tools BuildRequires: time