From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] strace: Update to version 6.10 Date: Tue, 13 Aug 2024 18:19:48 +0200 Message-ID: <20240813162000.1113995-13-adolf.belka@ipfire.org> In-Reply-To: <20240813162000.1113995-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7336924229044848150==" List-Id: --===============7336924229044848150== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 6.6 to 6.10 - Update of rootfile not required - Changelog 6.10 * Improvements * Implemented --decode-fds=3Deventfd option to retrieve eventfd object det= ails associated with eventfd file descriptors. * Implemented decoding of NETLINK_GENERIC nlctrl protocol. * Implemented decoding of F_DUPFD_QUERY fcntl. * Implemented decoding of mseal syscall. * Updated decoding of statx and prctl syscalls. * Updated decoding of BPF_RAW_TRACEPOINT_OPEN bpf command. * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, LANDLOCK_*, PR_*, STAT= X_*, TCP_*, TEE_*, V4L2_*, and *_MAGIC constants. * Updated lists of ioctl commands from Linux 6.10. * Bug fixes * Worked around a bug introduced in Linux 6.5 that affected system call tampering on riscv64. 6.9 * Improvements * Implemented --always-show-pid option. * The --user|-u option has learned to recognize numeric UID:GID pair, allo= wing e.g. statically-built strace to be used without invoking nss plugins. * Implemented decoding of IORING_REGISTER_SYNC_CANCEL, IORING_REGISTER_FILE_ALLOC_RANGE, IORING_REGISTER_PBUF_STATUS, IORING_REGISTER_NAPI, and IORING_UNREGISTER_NAPI opcodes of io_uring_register syscall. * Implemented decoding of BPF_TOKEN_CREATE bpf syscall command. * Updated decoding of io_uring_register and pidfd_send_signal syscalls. * Updated lists of BPF_*, CAN_*, IORING_*, KEY_*, LSM_*, MPOL_*, NT_*, RWF= _*, PIDFD_*, PTP_*, TCP_*, and *_MAGIC constants. * Updated lists of ioctl commands from Linux 6.9. 6.8 * Improvements * Renamed --stack-traces to --stack-trace for consistency. Old option is retained for backwards compatibility. * Implemented --stack-trace-frame-limit=3DN option for configuring the lim= it of the number of printed backtrace frames. * Implemented decoding of statmount, listmount, lsm_get_self_attr, lsm_set_self_attr, and lsm_list_modules syscalls. * Implemented decoding of setsockopt(TCP_AO_ADD_KEY). * Updated decoding of landlock_create_ruleset and landlock_add_rule syscal= ls. * Updated decoding of SMC_DIAG_DMBINFO netlink attribute. * Updated decoding of UBI_IOCATT ioctl command. * Enhanced decoding of mount attributes of fsmount and mount_setattr sysca= lls. * Updated lists of BPF_*, KEXEC_*, KVM_*, PERF_*, SOL_*, STATX_*, UFFD_*, and V4L2_* constants. * Updated lists of ioctl commands from Linux 6.8. 6.7 * Improvements * Implemented -kk/--stack-traces=3Dsource option for libdw-based stack tra= cing. * Implemented decoding of futex_wake, futex_wait, and sys_futex_requeue syscalls. * Updated lists of BPF_*, BTRFS_*, IORING_*, KVM_*, LANDLOCK_*, PR_*, and TCP_* constants. * Updated lists of ioctl commands from Linux 6.7. * Bug fixes * Fix strace -r during the first second after booting to show correct rela= tive timestamps. * Fix strace -f entering deadlock on exit if there are tracee processes spawned using vfork semantics. Signed-off-by: Adolf Belka --- lfs/strace | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lfs/strace b/lfs/strace index 97253340a..48c9180b1 100644 --- a/lfs/strace +++ b/lfs/strace @@ -26,7 +26,7 @@ include Config =20 SUMMARY =3D A utility to trace the system calls of a program =20 -VER =3D 6.6 +VER =3D 6.10 # SUP_ARCHES =3D x86_64 aarch64 =20 THISAPP =3D strace-$(VER) @@ -35,7 +35,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D strace -PAK_VER =3D 11 +PAK_VER =3D 12 =20 DEPS =3D =20 @@ -49,7 +49,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D f1465fec58ac20ccce6a88441a34b1402e5c51f0bb4b7963f69b5a= b5019a8c8722e3406c6f93c10c1eea11d17de7f9874895d6f4df24cf9ec42a18f36267687b +$(DL_FILE)_BLAKE2 =3D acb26ed66fbfcb1bc6403441b632df2f7af018345e52120b8715e2= bbfa578fc80af8e3844cba3e131601285f9e72b15c8b4ea56025c5efae846d2d36960f6c04 =20 install : $(TARGET) =20 @@ -82,7 +82,9 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=3D/usr --enable-mpers=3Dcheck + cd $(DIR_APP) && ./configure \ + --prefix=3D/usr \ + --enable-mpers=3Dcheck cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) --=20 2.46.0 --===============7336924229044848150==--