commit: 78337029a69b25a388adb39781ba35eb399c93ab
parent 650a6bdd3b0f8e5b1db7505dde784b238679d2c2
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 17 Jul 2019 09:44:35 -0700
strace: Update to 5.2
Diffstat:
12 files changed, 62 insertions(+), 90 deletions(-)
diff --git a/pkg/strace/.gitignore b/pkg/strace/.gitignore
@@ -1,3 +1,3 @@
/src
-/strace-5.1.tar.xz
+/strace-5.2.tar.xz
/tools.ninja
diff --git a/pkg/strace/config.h b/pkg/strace/config.h
@@ -213,11 +213,12 @@
#define HAVE_LINUX_KVM_H 1
#define HAVE_LINUX_MEMFD_H 1
#define HAVE_LINUX_MMTIMER_H 1
+/* #undef HAVE_LINUX_MOUNT_H */
#define HAVE_LINUX_MQUEUE_H 1
#define HAVE_LINUX_MSG_H 1
#define HAVE_LINUX_NEIGHBOUR_H 1
#define HAVE_LINUX_NETFILTER_ARP_ARP_TABLES_H 1
-/* #undef HAVE_LINUX_NETFILTER_BRIDGE_EBTABLES_H */
+#define HAVE_LINUX_NETFILTER_BRIDGE_EBTABLES_H 1
#define HAVE_LINUX_NETFILTER_IPSET_IP_SET_H 1
#define HAVE_LINUX_NETFILTER_IPV4_IP_TABLES_H 1
#define HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H 1
@@ -257,6 +258,7 @@
#define HAVE_NETINET_UDP_H 1
/* #undef HAVE_NETIPX_IPX_H */
#define HAVE_OPEN64 1
+#define HAVE_OPEN_MEMSTREAM 1
#define HAVE_PATHS_H 1
#define HAVE_PRCTL 1
#define HAVE_PREADV 1
@@ -516,6 +518,10 @@
#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_ADDR 1
#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_OFFSET 1
#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROG_ID 1
+/* #undef HAVE_UNION_BPF_ATTR_TEST_CTX_IN */
+/* #undef HAVE_UNION_BPF_ATTR_TEST_CTX_OUT */
+/* #undef HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_IN */
+/* #undef HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_OUT */
#define HAVE_UNION_BPF_ATTR_TEST_DATA_IN 1
#define HAVE_UNION_BPF_ATTR_TEST_DATA_OUT 1
#define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_IN 1
@@ -542,7 +548,7 @@
/* #undef M32_SIZEOF_KERNEL_LONG_T */
/* #undef M32_SIZEOF_LONG */
/* #undef M68K */
-#define MANPAGE_DATE "2019-03-17"
+#define MANPAGE_DATE "2019-07-10"
/* #undef METAG */
/* #undef MICROBLAZE */
/* #undef MIPS */
@@ -553,10 +559,10 @@
#define PACKAGE "strace"
#define PACKAGE_BUGREPORT "strace-devel@lists.strace.io"
#define PACKAGE_NAME "strace"
-#define PACKAGE_STRING "strace 5.1"
+#define PACKAGE_STRING "strace 5.2"
#define PACKAGE_TARNAME "strace"
#define PACKAGE_URL "https://strace.io"
-#define PACKAGE_VERSION "5.1"
+#define PACKAGE_VERSION "5.2"
/* #undef POWERPC */
/* #undef POWERPC64 */
/* #undef RISCV */
@@ -592,7 +598,7 @@
# define __EXTENSIONS__ 1
#endif
/* #undef USE_UNWINDER */
-#define VERSION "5.1"
+#define VERSION "5.2"
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
diff --git a/pkg/strace/gen.lua b/pkg/strace/gen.lua
@@ -69,6 +69,7 @@ local syscalls = expand{'$srcdir/linux/', {
'sparc/syscallent.h',
'sparc64/syscallent.h',
'subcall.h',
+ 'syscallent-common.h',
'x86_64/syscallent.h',
}}
build('awk', '$outdir/sen.h', {syscalls, '|', '$dir/sen.awk'}, {
@@ -143,6 +144,10 @@ local srcs = {
'filter_qualify.c',
'flock.c',
'fs_x_ioctl.c',
+ 'fsconfig.c',
+ 'fsmount.c',
+ 'fsopen.c',
+ 'fspick.c',
'futex.c',
'get_personality.c',
'get_robust_list.c',
@@ -181,6 +186,7 @@ local srcs = {
'mmap_notify.c',
'mmsghdr.c',
'mount.c',
+ 'move_mount.c',
'mq.c',
'msghdr.c',
'mtd.c',
@@ -204,6 +210,7 @@ local srcs = {
'number_set.c',
'oldstat.c',
'open.c',
+ 'open_tree.c',
'or1k_atomic.c',
'pathtrace.c',
'perf.c',
@@ -280,6 +287,7 @@ local srcs = {
'socketutils.c',
'sparc.c',
'sram_alloc.c',
+ 'stage_output.c',
'stat.c',
'stat64.c',
'statx.c',
diff --git a/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch b/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch
@@ -1,4 +1,4 @@
-From f19be9dcb5afff4fab29d629eb9e0bcc4d6975a7 Mon Sep 17 00:00:00 2001
+From daed49b01621b8044b788a5a4b1d2f9da0378a09 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Fri, 5 Jul 2019 20:52:24 -0700
Subject: [PATCH] Don't return expression in void function
@@ -8,10 +8,10 @@ Subject: [PATCH] Don't return expression in void function
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/defs.h b/defs.h
-index 512ad51f..2dd5d65b 100644
+index 93b35d71..cd045591 100644
--- a/defs.h
+++ b/defs.h
-@@ -609,7 +609,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *);
+@@ -612,7 +612,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *);
static inline void
pathtrace_select(const char *path)
{
@@ -20,7 +20,7 @@ index 512ad51f..2dd5d65b 100644
}
static inline bool
-@@ -754,8 +754,8 @@ static inline void
+@@ -757,8 +757,8 @@ static inline void
printxval_dispatch(const struct xlat *xlat, size_t xlat_size, uint64_t val,
const char *dflt, enum xlat_type xt)
{
diff --git a/pkg/strace/patch/0002-Use-__typeof__-spelling-of-typeof.patch b/pkg/strace/patch/0002-Use-__typeof__-spelling-of-typeof.patch
@@ -1,4 +1,4 @@
-From 0b0f3d38b297fe0fd53cff9dd5291199148be934 Mon Sep 17 00:00:00 2001
+From 89a46be60797ef4eab8756b3654967f080585107 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 6 Jul 2019 01:33:01 -0700
Subject: [PATCH] Use __typeof__ spelling of typeof
@@ -157,10 +157,10 @@ index b2125171..0b0242c8 100644
# define TYPEOF_FLOCK_OFF_T off_t
#endif
diff --git a/util.c b/util.c
-index fa384c59..4367a9de 100644
+index 42253ebb..f0b578e3 100644
--- a/util.c
+++ b/util.c
-@@ -927,8 +927,8 @@ dumpiov_upto(struct tcb *const tcp, const int len, const kernel_ulong_t addr,
+@@ -939,8 +939,8 @@ dumpiov_upto(struct tcb *const tcp, const int len, const kernel_ulong_t addr,
#define ILOG2_ITER_(val_, ret_, bit_) \
do { \
diff --git a/pkg/strace/patch/0003-Make-tcp_sysent-a-static-inline-function.patch b/pkg/strace/patch/0003-Make-tcp_sysent-a-static-inline-function.patch
@@ -1,4 +1,4 @@
-From f61bb03c8847240807ebdb905e257d865c7a7850 Mon Sep 17 00:00:00 2001
+From 8361c9a61ee5e5200206d0bb5142618641198877 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 6 Jul 2019 01:40:36 -0700
Subject: [PATCH] Make tcp_sysent a static inline function
@@ -10,10 +10,10 @@ operator without evaluating the macro argument multiple times.
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/defs.h b/defs.h
-index 2dd5d65b..5d65fa3a 100644
+index cd045591..90381b83 100644
--- a/defs.h
+++ b/defs.h
-@@ -299,8 +299,12 @@ struct tcb {
+@@ -303,8 +303,12 @@ struct tcb {
# define syscall_delayed(tcp) ((tcp)->flags & TCB_DELAYED)
# define syscall_tampered_nofail(tcp) ((tcp)->flags & TCB_TAMPERED_NO_FAIL)
diff --git a/pkg/strace/patch/0004-Avoid-empty-initializer-lists.patch b/pkg/strace/patch/0004-Avoid-empty-initializer-lists.patch
@@ -1,4 +1,4 @@
-From 7905844ea2f5bb68b4152311d30c9479d0ef8a74 Mon Sep 17 00:00:00 2001
+From 5281dd0a41e6c1819a62154056b1163ca54ef398 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sat, 6 Jul 2019 01:54:05 -0700
Subject: [PATCH] Avoid empty initializer lists
@@ -20,7 +20,7 @@ Subject: [PATCH] Avoid empty initializer lists
13 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/bpf.c b/bpf.c
-index 420b4402..60cecdd9 100644
+index 20ad938f..1a967e20 100644
--- a/bpf.c
+++ b/bpf.c
@@ -42,7 +42,7 @@ bpf_cmd_decoder(struct tcb *const tcp, \
@@ -68,10 +68,10 @@ index 417ff742..ab21fa67 100644
if (usize) {
diff --git a/signal.c b/signal.c
-index fcaf9d4f..22e2f407 100644
+index 3cb54bb3..bc03dae8 100644
--- a/signal.c
+++ b/signal.c
-@@ -265,7 +265,7 @@ print_sigset_addr_len_limit(struct tcb *const tcp, const kernel_ulong_t addr,
+@@ -246,7 +246,7 @@ print_sigset_addr_len_limit(struct tcb *const tcp, const kernel_ulong_t addr,
printaddr(addr);
return;
}
@@ -81,10 +81,10 @@ index fcaf9d4f..22e2f407 100644
return;
tprints(sprintsigmask_n("", mask, len));
diff --git a/strace.c b/strace.c
-index 318b1409..686d1a3a 100644
+index 4f03a4c9..a1972b83 100644
--- a/strace.c
+++ b/strace.c
-@@ -2534,7 +2534,7 @@ trace_syscall(struct tcb *tcp, unsigned int *sig)
+@@ -2601,7 +2601,7 @@ trace_syscall(struct tcb *tcp, unsigned int *sig)
syscall_entering_finish(tcp, res);
return res;
} else {
diff --git a/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch b/pkg/strace/patch/0008-Avoid-unnecessary-VLAs.patch
@@ -1,4 +1,4 @@
-From f67310662b958087ff7ead38517af06bbf57d58b Mon Sep 17 00:00:00 2001
+From 28c7332d091ea05171da1c59b0a2739de4548bf7 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 7 Jul 2019 21:58:46 -0700
Subject: [PATCH] Avoid unnecessary VLAs
@@ -64,10 +64,10 @@ index d6191187..6ce9bc30 100644
if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst,
dst_buf, text_size))
diff --git a/syscall.c b/syscall.c
-index bae7343c..f79af930 100644
+index e020b180..8983b3c4 100644
--- a/syscall.c
+++ b/syscall.c
-@@ -292,7 +292,7 @@ decode_socket_subcall(struct tcb *tcp)
+@@ -293,7 +293,7 @@ decode_socket_subcall(struct tcb *tcp)
const kernel_ulong_t scno = SYS_socket_subcall + call;
const unsigned int nargs = sysent[scno].nargs;
@@ -77,10 +77,10 @@ index bae7343c..f79af930 100644
if (umoven(tcp, tcp->u_arg[1], nargs * current_wordsize, buf) < 0)
return;
diff --git a/util.c b/util.c
-index 4367a9de..7a4fcd38 100644
+index f0b578e3..dbacecd1 100644
--- a/util.c
+++ b/util.c
-@@ -394,8 +394,7 @@ enum sock_proto
+@@ -406,8 +406,7 @@ enum sock_proto
getfdproto(struct tcb *tcp, int fd)
{
#ifdef HAVE_SYS_XATTR_H
@@ -90,7 +90,7 @@ index 4367a9de..7a4fcd38 100644
ssize_t r;
char path[sizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3];
-@@ -403,7 +402,7 @@ getfdproto(struct tcb *tcp, int fd)
+@@ -415,7 +414,7 @@ getfdproto(struct tcb *tcp, int fd)
return SOCK_PROTO_UNKNOWN;
xsprintf(path, "/proc/%u/fd/%u", tcp->pid, fd);
diff --git a/pkg/strace/patch/0009-Avoid-index-ranges-and-empty-initializer-lists-in-sy.patch b/pkg/strace/patch/0009-Avoid-index-ranges-and-empty-initializer-lists-in-sy.patch
@@ -1,4 +1,4 @@
-From 513e5862c05c21449d4ef2d5937743680f2ca9c4 Mon Sep 17 00:00:00 2001
+From c29bd14df82c4b878012aae02fe5aa194060e630 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 7 Jul 2019 22:29:34 -0700
Subject: [PATCH] Avoid index ranges and empty initializer lists in syscallent
@@ -13,9 +13,6 @@ Subject: [PATCH] Avoid index ranges and empty initializer lists in syscallent
linux/m68k/syscallent.h | 2 +-
linux/microblaze/syscallent.h | 6 +--
linux/mips/syscallent-compat.h | 46 ++++++++++----------
- linux/mips/syscallent-n32.h | 2 +-
- linux/mips/syscallent-n64.h | 2 +-
- linux/mips/syscallent-o32.h | 2 +-
linux/powerpc/syscallent.h | 2 +-
linux/powerpc64/syscallent.h | 10 ++---
linux/s390/syscallent.h | 42 +++++++++---------
@@ -25,10 +22,10 @@ Subject: [PATCH] Avoid index ranges and empty initializer lists in syscallent
linux/sparc/syscallent.h | 6 +--
linux/sparc64/syscallent.h | 38 ++++++++---------
linux/xtensa/syscallent.h | 32 +++++++-------
- 20 files changed, 173 insertions(+), 173 deletions(-)
+ 17 files changed, 170 insertions(+), 170 deletions(-)
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
-index d569fa67..42a7e119 100644
+index f38d5243..37f6ab23 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -60,7 +60,7 @@
@@ -153,10 +150,10 @@ index d569fa67..42a7e119 100644
[406] = { 3, 0, SEN(lookup_dcookie), "lookup_dcookie" },
[407] = { 1, TD, SEN(epoll_create), "epoll_create" },
diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
-index 065e79f3..a7a8e9e0 100644
+index 9fe6b27b..3b4c20e0 100644
--- a/linux/arm/syscallent.h
+++ b/linux/arm/syscallent.h
-@@ -455,7 +455,7 @@
+@@ -433,7 +433,7 @@
* ARM specific syscalls. Encoded with scno 0x000f00xx.
* Remapped by shuffle_scno() to be directly after __ARM_NR_cmpxchg.
*/
@@ -201,7 +198,7 @@ index 8a3209d1..d0b2c761 100644
[225] = { 4, TD, SEN(readahead), "readahead" },
[226] = { 5, TF, SEN(setxattr), "setxattr" },
diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
-index 98866f3d..96270976 100644
+index e2233ec9..efd46cd4 100644
--- a/linux/i386/syscallent.h
+++ b/linux/i386/syscallent.h
@@ -229,7 +229,7 @@
@@ -232,7 +229,7 @@ index 98866f3d..96270976 100644
[287] = { 4, 0, SEN(request_key), "request_key" },
[288] = { 5, 0, SEN(keyctl), "keyctl" },
diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
-index f2117697..f2918b83 100644
+index 708e89c9..665d8c77 100644
--- a/linux/m68k/syscallent.h
+++ b/linux/m68k/syscallent.h
@@ -225,7 +225,7 @@
@@ -245,7 +242,7 @@ index f2117697..f2918b83 100644
[221] = { 0, PU|NF, SEN(gettid), "gettid" },
[222] = { 2, TS, SEN(kill), "tkill" },
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
-index 8e2a3dd9..fac21dbd 100644
+index dcb00305..27af38d1 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -229,7 +229,7 @@
@@ -439,47 +436,8 @@ index fce44a27..297bfb90 100644
[3260] = { 0, 0, SEN(printargs), "posix_netboot" },
[3261] = { 0, 0, SEN(printargs), "posix_netunboot" },
[3262] = { 0, 0, SEN(printargs), "posix_rdump" },
-diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
-index 16ec2a1b..44d0bd6a 100644
---- a/linux/mips/syscallent-n32.h
-+++ b/linux/mips/syscallent-n32.h
-@@ -249,7 +249,7 @@
- [6239] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
- [6240] = { 5, 0, SEN(vserver), "vserver" },
- [6241] = { 5, TP, SEN(waitid), "waitid" },
--[6242] = { },
-+/* [6242] - unused */
- [6243] = { 5, 0, SEN(add_key), "add_key" },
- [6244] = { 4, 0, SEN(request_key), "request_key" },
- [6245] = { 5, 0, SEN(keyctl), "keyctl" },
-diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
-index 15db301e..9127b16b 100644
---- a/linux/mips/syscallent-n64.h
-+++ b/linux/mips/syscallent-n64.h
-@@ -245,7 +245,7 @@
- [5235] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
- [5236] = { 5, 0, SEN(vserver), "vserver" },
- [5237] = { 5, TP, SEN(waitid), "waitid" },
--[5238] = { },
-+/* [5238] - unused */
- [5239] = { 5, 0, SEN(add_key), "add_key" },
- [5240] = { 4, 0, SEN(request_key), "request_key" },
- [5241] = { 5, 0, SEN(keyctl), "keyctl" },
-diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
-index 7fdc60f6..131a8960 100644
---- a/linux/mips/syscallent-o32.h
-+++ b/linux/mips/syscallent-o32.h
-@@ -287,7 +287,7 @@
- [4276] = { 3, TD, SEN(mq_getsetattr), "mq_getsetattr" },
- [4277] = { 5, 0, SEN(vserver), "vserver" },
- [4278] = { 5, TP, SEN(waitid), "waitid" },
--[4279] = { },
-+/* [4279] - unused */
- [4280] = { 5, 0, SEN(add_key), "add_key" },
- [4281] = { 4, 0, SEN(request_key), "request_key" },
- [4282] = { 5, 0, SEN(keyctl), "keyctl" },
diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
-index 4e184646..3f299295 100644
+index f4e11861..a2a71372 100644
--- a/linux/powerpc/syscallent.h
+++ b/linux/powerpc/syscallent.h
@@ -231,7 +231,7 @@
@@ -492,7 +450,7 @@ index 4e184646..3f299295 100644
[226] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[227] = { 2, TM, SEN(io_setup), "io_setup" },
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h
-index 47a59990..1d8b918c 100644
+index edf56388..47727bc3 100644
--- a/linux/powerpc64/syscallent.h
+++ b/linux/powerpc64/syscallent.h
@@ -199,14 +199,14 @@
@@ -534,7 +492,7 @@ index 47a59990..1d8b918c 100644
[256] = { 5, 0, SEN(printargs), "sys_debug_setcontext" },
[257] = { 5, 0, SEN(vserver), "vserver" },
diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
-index 24cd190b..1e23efc8 100644
+index e83dc863..2e989d6f 100644
--- a/linux/s390/syscallent.h
+++ b/linux/s390/syscallent.h
@@ -26,8 +26,8 @@
@@ -668,7 +626,7 @@ index 24cd190b..1e23efc8 100644
[244] = { 1, TM, SEN(io_destroy), "io_destroy" },
[245] = { 5, 0, SEN(io_getevents_time32), "io_getevents" },
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
-index 5b61cdc2..2c0d9cc2 100644
+index aed5f72a..1669f339 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -21,29 +21,29 @@
@@ -879,7 +837,7 @@ index 5b61cdc2..2c0d9cc2 100644
[266] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
[267] = { 5, TM|SI, SEN(remap_file_pages), "remap_file_pages" },
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
-index 44cc9d90..2707e0b3 100644
+index 8a5edd3d..0c33feed 100644
--- a/linux/sh/syscallent.h
+++ b/linux/sh/syscallent.h
@@ -197,7 +197,7 @@
@@ -936,7 +894,7 @@ index 44cc9d90..2707e0b3 100644
[295] = { 4, TD|TF, SEN(openat), "openat" },
[296] = { 3, TD|TF, SEN(mkdirat), "mkdirat" },
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
-index a21b0c47..e3790e73 100644
+index 9f2d6e37..185c1040 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -89,7 +89,7 @@
@@ -1020,7 +978,7 @@ index a21b0c47..e3790e73 100644
[323] = { 4, TD|TF, SEN(openat), "openat" },
[324] = { 3, TD|TF, SEN(mkdirat), "mkdirat" },
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
-index 706c15e6..beba901a 100644
+index 8a49b686..f4b6be95 100644
--- a/linux/sparc/syscallent.h
+++ b/linux/sparc/syscallent.h
@@ -57,7 +57,7 @@
@@ -1051,7 +1009,7 @@ index 706c15e6..beba901a 100644
[269] = { 1, TM, SEN(io_destroy), "io_destroy" },
[270] = { 3, 0, SEN(io_submit), "io_submit" },
diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h
-index 1023b07d..cdb3ae7b 100644
+index fe8e75e9..2c45ab96 100644
--- a/linux/sparc64/syscallent.h
+++ b/linux/sparc64/syscallent.h
@@ -36,10 +36,10 @@
@@ -1171,7 +1129,7 @@ index 1023b07d..cdb3ae7b 100644
[269] = { 1, TM, SEN(io_destroy), "io_destroy" },
[270] = { 3, 0, SEN(io_submit), "io_submit" },
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
-index 8cb6a46c..0bf390eb 100644
+index dd2795d3..c2c6e819 100644
--- a/linux/xtensa/syscallent.h
+++ b/linux/xtensa/syscallent.h
@@ -7,7 +7,7 @@
diff --git a/pkg/strace/sha256 b/pkg/strace/sha256
@@ -1 +1 @@
-f5a341b97d7da88ee3760626872a4899bf23cf8dee56901f114be5b1837a9a8b strace-5.1.tar.xz
+d513bc085609a9afd64faf2ce71deb95b96faf46cd7bc86048bc655e4e4c24d2 strace-5.2.tar.xz
diff --git a/pkg/strace/url b/pkg/strace/url
@@ -1 +1 @@
-url = "https://github.com/strace/strace/releases/download/v5.1/strace-5.1.tar.xz"
+url = "https://github.com/strace/strace/releases/download/v5.2/strace-5.2.tar.xz"
diff --git a/pkg/strace/ver b/pkg/strace/ver
@@ -1 +1 @@
-5.1 r1
+5.2 r0