From patchwork Tue Aug 13 16:19:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8002 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4WjxSS1m4Vz3wwl for ; Tue, 13 Aug 2024 16:20:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4WjxSR2vrbz5nw; Tue, 13 Aug 2024 16:20:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4WjxSR1R9lz342C; Tue, 13 Aug 2024 16:20:23 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4WjxSC0svlz343j for ; Tue, 13 Aug 2024 16:20:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4WjxSB6BC9z2PN; Tue, 13 Aug 2024 16:20:10 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1723566010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B+mv0qLm5T1+j7VZ/gsLcqgS3XhuAnMYujrT4eqkw+A=; b=+uk60JGxIxv8U/qnZ9xO2Y1keZYKEc+t8yWd0SMLaN+YE/3e4khhTtjYVB/Js2c/5jAmYO HLNcW+gUc5M6BjDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1723566010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B+mv0qLm5T1+j7VZ/gsLcqgS3XhuAnMYujrT4eqkw+A=; b=isf1kEcP4VdaxnGeo0CgWOp0ya2aE0MIzPVgT3ZyIi+fE4aBcw4jmcHEF4x1d3wcN0jQ5s HAirBx7wxW8vAmNJGL/PRu9njnzNkgjj9EQsPC8bI6fv1CCpaVeo/TuobPy6oIGlWwbRK2 DRDIvPH3U2CpK82N2zBczH1t81IAY+5PHk/JHMwdyWTewdMgKq5ms7q4Vxwp8DFXQeQ3l4 iHaRAXSaiPZQ9E4cJM/03QJwgScOo0FqxsGtR7hD6zlqeB1tOwelBrbQqoRsFm0EeH5qfG Hg7TniCVL+APVHB74VmcCy2URlsCh/jVCxU5K2BuaI3GI64XT7//MOJbvoAatg== 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> References: <20240813162000.1113995-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: 4W22ESAYUGHES4D4WSQFMDDVL62CEPQZ X-Message-ID-Hash: 4W22ESAYUGHES4D4WSQFMDDVL62CEPQZ X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 6.6 to 6.10 - Update of rootfile not required - Changelog 6.10 * Improvements * Implemented --decode-fds=eventfd option to retrieve eventfd object details 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_*, STATX_*, 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, allowing 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=N option for configuring the limit 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 syscalls. * 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 syscalls. * 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=source option for libdw-based stack tracing. * 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 relative 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 SUMMARY = A utility to trace the system calls of a program -VER = 6.6 +VER = 6.10 # SUP_ARCHES = x86_64 aarch64 THISAPP = strace-$(VER) @@ -35,7 +35,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = strace -PAK_VER = 11 +PAK_VER = 12 DEPS = @@ -49,7 +49,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = f1465fec58ac20ccce6a88441a34b1402e5c51f0bb4b7963f69b5ab5019a8c8722e3406c6f93c10c1eea11d17de7f9874895d6f4df24cf9ec42a18f36267687b +$(DL_FILE)_BLAKE2 = acb26ed66fbfcb1bc6403441b632df2f7af018345e52120b8715e2bbfa578fc80af8e3844cba3e131601285f9e72b15c8b4ea56025c5efae846d2d36960f6c04 install : $(TARGET) @@ -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=/usr --enable-mpers=check + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --enable-mpers=check cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)