From 57e63d685fbcefa5005126950071e36a7cfd8310dc7af1ddb95bc03fdc689794 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 19 Jun 2022 11:34:11 +0000 Subject: [PATCH] Accepting request 983689 from home:AndreasSchwab:f - Update to strace 5.18 * Improvements * Added an interface of raising des Strausses awareness. * Added --tips option to print strace tips, tricks, and tweaks at the end of the tracing session. * Enhanced decoding of bpf and io_uring_register syscalls. * Implemented decoding of COUNTER_*, RTC_PARAM_GET, and RTC_PARAM_SET ioctl commands. * Updated lists of BPF_*, BR_*, BTRFS_*, IFA_*, IFLA_*, IORING_*, KEY_*, KVM_*, MADV_*, and UFFD_* constants. * Updated lists of ioctl commands from Linux 5.18. * Bug fixes * Fixed printing of the updated value of union bpf_attr.next_id on the exiting of bpf(BPF_*_GET_NEXT_ID) calls. - tests-ptrace.patch: Dropped OBS-URL: https://build.opensuse.org/request/show/983689 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=143 --- strace-5.17.tar.xz | 3 --- strace-5.17.tar.xz.asc | 16 ---------------- strace-5.18.tar.xz | 3 +++ strace-5.18.tar.xz.asc | 16 ++++++++++++++++ strace.changes | 21 ++++++++++++++++++++- strace.spec | 4 +--- tests-ptrace.patch | 13 ------------- 7 files changed, 40 insertions(+), 36 deletions(-) delete mode 100644 strace-5.17.tar.xz delete mode 100644 strace-5.17.tar.xz.asc create mode 100644 strace-5.18.tar.xz create mode 100644 strace-5.18.tar.xz.asc delete mode 100644 tests-ptrace.patch diff --git a/strace-5.17.tar.xz b/strace-5.17.tar.xz deleted file mode 100644 index 80b96c9..0000000 --- a/strace-5.17.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fb298dbd1331fd1e1bc94c5c32395860d376101b87c6cd3d1ba9f9aa15c161f -size 2281220 diff --git a/strace-5.17.tar.xz.asc b/strace-5.17.tar.xz.asc deleted file mode 100644 index 25ea29e..0000000 --- a/strace-5.17.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIcBAABCgAGBQJiPwmBAAoJEKgEH6g54W42SsMP/RUzuMFX6MjoyRCj1N1J7fb7 -Z+9onYz5vJaskp9+wU/qYi7uBg5WutUh+GA9Af25z1b2Ql6ggwKyt9w9gDFDzwjr -1Q638uk/eR0mAsAMI8htUfRubb5/aZo9rPjau70v0yyzepdayYLMMgpfYcGruOlY -gN/4DovmUU2GxlAdh9MVUITYp08G3Ie1gB9S51xEXrhAfkTHdNBvtq7lGPH3YT+B -j3cXWzTUms3XIuNdG/VwDBqjqi7xJ77Yk4+Ez+v9QBYH4liVC3Wq5UhIVXIDnZ4v -FKZS5olCz3f3KE5apqwOTSNmo8rLYTjbEnjghGwNEAxsEFO3ZVYwRURW5mRJyLoi -N4VymJYziIsY6EJIvvHoHRz0YteNIos/tMFTHAO+7SaAc8TJY2QuU2/23+Nm6RgC -E4PH0VBY+E1dkElCeYYctb9bjfI9iyeZTLXYfXH3pMAFGr5qfdcQ/8Dy9cAzdzIG -i280FSWrKQIm5S1vcwtop++yy7Q1VG9nv5Dwt1HRHI6SJhxVqkWU+0qM3FCW1ROF -d0cfmGbruSM4rKR7EKn09jPwspGm0nOxNORX7am4vfMLoFwDIzl4JG3prerwYB2g -wbOsLZyzRDTpkI56CULahYKo7QaNa9Jz4GKlOhYWJvhCqh2nsQkhy2rV5IoGBnag -5UK1XIv0CfqXewibloNh -=hsMW ------END PGP SIGNATURE----- diff --git a/strace-5.18.tar.xz b/strace-5.18.tar.xz new file mode 100644 index 0000000..1029153 --- /dev/null +++ b/strace-5.18.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60293ea79ac9253d600cdc9be077ad2988ca22284a439c9e66be5150db3d1187 +size 2307412 diff --git a/strace-5.18.tar.xz.asc b/strace-5.18.tar.xz.asc new file mode 100644 index 0000000..ed6c1a2 --- /dev/null +++ b/strace-5.18.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABCgAGBQJirhrCAAoJEKgEH6g54W42VOAQALEydorp3ASRfsykP7KVhpBQ +YnB0gUc2uJRn4uAtt1vgVNTC0W/T1wqfd06RX+2chiSOXOW6DXwr65NZVDya/PB4 +3UXNdk1fvAbRpjwqjufiZCLj9xQWaqtChpTyHRYTueh9JQYtM+8jwDEoN7dLljEy ++uWL0xQ/tkNUwRBoCBl8Rnjtbo1wWTLn/zOfVQzwskRn8axXUEROV4BomOEzM/Rb +7OkmBeuGkpN1NzU2j2dgypFjqhIPateW4ipkpq2Kav7gkEReSLxPzIhZlasYxY3B +4VeX3i1ciqKwJacKyi0lBXEIVztMSDprkBTOCeQxfPTxh5LM4ee4tKNeyyBU7v95 +EEwWxp0zhIlteFFQDraCCc4g2+GFGhqDtg8d3ftFLNMNnpzAlDSZll0UX9BS7Nzm +r0JHxobOuwXiUMbAGftN1NnXPTlFUWnbbKNw8c52ljiqA5M48ErmohHfb5g6x7ds +6kOl9oZqPawASSLXUwF/gW61e9/3dw5IYFu830AJP1kyfg+U4vw/peN7iQbXsidk +WS9XAER6OrbTKNJ7cxdfPBAc8dBl69elOPOOLvmRt5mgI0PV1OaebKwkz9KwDoTB +sVCtlRBDctn+RH8pE/T8YdVPFm7zwacfB3dbq4UH1erU8CtCbd0D0BVYDEprOLdl +TlQFpEm6UfafUOIPcr60 +=3p9v +-----END PGP SIGNATURE----- diff --git a/strace.changes b/strace.changes index 7244170..a7654f6 100644 --- a/strace.changes +++ b/strace.changes @@ -1,7 +1,26 @@ +------------------------------------------------------------------- +Sat Jun 18 20:33:56 UTC 2022 - Andreas Schwab + +- Update to strace 5.18 + * Improvements + * Added an interface of raising des Strausses awareness. + * Added --tips option to print strace tips, tricks, and tweaks + at the end of the tracing session. + * Enhanced decoding of bpf and io_uring_register syscalls. + * Implemented decoding of COUNTER_*, RTC_PARAM_GET, and RTC_PARAM_SET ioctl + commands. + * Updated lists of BPF_*, BR_*, BTRFS_*, IFA_*, IFLA_*, IORING_*, KEY_*, + KVM_*, MADV_*, and UFFD_* constants. + * Updated lists of ioctl commands from Linux 5.18. + * Bug fixes + * Fixed printing of the updated value of union bpf_attr.next_id + on the exiting of bpf(BPF_*_GET_NEXT_ID) calls. +- tests-ptrace.patch: Dropped + ------------------------------------------------------------------- Sun Mar 27 13:07:04 UTC 2022 - Andreas Schwab -- Update to strace 5.16 +- Update to strace 5.17 * Improvements * Extended personality designation syntax of syscall specification expressions to support all@pers and %class@pers. diff --git a/strace.spec b/strace.spec index d551f1b..82b3cf6 100644 --- a/strace.spec +++ b/strace.spec @@ -17,7 +17,7 @@ Name: strace -Version: 5.17 +Version: 5.18 Release: 0 Summary: A utility to trace the system calls of a program License: BSD-3-Clause @@ -29,7 +29,6 @@ Source: https://github.com/strace/strace/releases/download/v%{version}/% Source2: https://github.com/strace/strace/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc Source3: %{name}.keyring Source4: baselibs.conf -Patch: tests-ptrace.patch BuildRequires: haveged BuildRequires: libacl-devel BuildRequires: libaio-devel @@ -59,7 +58,6 @@ and processes can be seen. Child processes can also be tracked. %prep %setup -q -%patch -p1 %build %configure \ diff --git a/tests-ptrace.patch b/tests-ptrace.patch deleted file mode 100644 index 8246193..0000000 --- a/tests-ptrace.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: strace-5.17/tests/ptrace.c -=================================================================== ---- strace-5.17.orig/tests/ptrace.c -+++ strace-5.17/tests/ptrace.c -@@ -1854,7 +1854,7 @@ main(void) - XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, - XLAT_ARGS(SIGPROF), sip->si_code, sip->si_errno, errstr); - --#ifdef HAVE_SIGINFO_T_SI_PKEY -+#if defined HAVE_SIGINFO_T_SI_PKEY && defined SEGV_PKUERR - memset(sip, -1, sizeof(*sip)); - sip->si_signo = SIGSEGV; - sip->si_code = SEGV_PKUERR;