commit: c554ead8d85a452d239e09ddb10157e53476cbea
parent ee48c53f3b25082fe4eeddf191607c14174025ce
Author: Michael Forney <mforney@mforney.org>
Date: Thu, 15 Feb 2018 21:33:56 -0800
strace: Update to 4.21
Diffstat:
7 files changed, 45 insertions(+), 16 deletions(-)
diff --git a/pkg/strace/.gitignore b/pkg/strace/.gitignore
@@ -1,3 +1,3 @@
/src
-/strace-4.20.tar.xz
+/strace-4.21.tar.xz
/tools.ninja
diff --git a/pkg/strace/README.md b/pkg/strace/README.md
@@ -0,0 +1,6 @@
+# strace
+
+## config.h
+Generated with
+
+ ./configure --disable-mpers
diff --git a/pkg/strace/config.h b/pkg/strace/config.h
@@ -7,12 +7,11 @@
#define ASM_SIGRTMIN 32
/* #undef AVR32 */
/* #undef BFIN */
-#define COPYRIGHT_YEAR "2017"
-/* #undef CRISV10 */
-/* #undef CRISV32 */
+#define COPYRIGHT_YEAR "2018"
#define ENABLE_ARM_OABI 0
#define HAVE_ACCEPT4 1
/* #undef HAVE_ASM_CACHECTL_H */
+/* #undef HAVE_ASM_GUARDED_STORAGE_H */
/* #undef HAVE_ASM_SIGCONTEXT_H */
/* #undef HAVE_ASM_SYSMIPS_H */
/* #undef HAVE_BE64TOH */
@@ -165,6 +164,7 @@
#define HAVE_DECL_VM_MAX_MAP_COUNT 1
#define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT 1
#define HAVE_DECL_VM_VFS_CACHE_PRESSURE 1
+/* #undef HAVE_DEMANGLE_H */
#define HAVE_DLADDR 1
#define HAVE_ELF_H 1
#define HAVE_FALLOCATE 1
@@ -178,8 +178,11 @@
/* #undef HAVE_GNU_STUBS */
/* #undef HAVE_GNU_STUBS_32_H */
/* #undef HAVE_GNU_STUBS_X32_H */
+#define HAVE_ICONV_H 1
+#define HAVE_ICONV_OPEN 1
#define HAVE_IF_INDEXTONAME 1
#define HAVE_INTTYPES_H 1
+/* #undef HAVE_LIBIBERTY_DEMANGLE_H */
/* #undef HAVE_LIBUNWIND_PTRACE_H */
#define HAVE_LINUX_BPF_H 1
#define HAVE_LINUX_BSG_H 1
@@ -198,15 +201,17 @@
#define HAVE_LINUX_IPC_H 1
#define HAVE_LINUX_IP_VS_H 1
#define HAVE_LINUX_KCMP_H 1
+#define HAVE_LINUX_KVM_H 1
+#define HAVE_LINUX_MEMFD_H 1
#define HAVE_LINUX_MMTIMER_H 1
#define HAVE_LINUX_MQUEUE_H 1
#define HAVE_LINUX_MSG_H 1
#define HAVE_LINUX_NEIGHBOUR_H 1
-/* #undef HAVE_LINUX_NETFILTER_ARP_ARP_TABLES_H */
-/* #undef HAVE_LINUX_NETFILTER_BRIDGE_EBTABLES_H */
+#define HAVE_LINUX_NETFILTER_ARP_ARP_TABLES_H 1
+#define HAVE_LINUX_NETFILTER_BRIDGE_EBTABLES_H 1
#define HAVE_LINUX_NETFILTER_IPSET_IP_SET_H 1
-/* #undef HAVE_LINUX_NETFILTER_IPV4_IP_TABLES_H */
-/* #undef HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H */
+#define HAVE_LINUX_NETFILTER_IPV4_IP_TABLES_H 1
+#define HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H 1
#define HAVE_LINUX_NETFILTER_NFNETLINK_ACCT_H 1
#define HAVE_LINUX_NETFILTER_NFNETLINK_CONNTRACK_H 1
#define HAVE_LINUX_NETFILTER_NFNETLINK_CTHELPER_H 1
@@ -243,6 +248,7 @@
#define HAVE_NETINET_UDP_H 1
/* #undef HAVE_NETIPX_IPX_H */
#define HAVE_OPEN64 1
+#define HAVE_PATHS_H 1
#define HAVE_PRCTL 1
#define HAVE_PREADV 1
#define HAVE_PROCESS_VM_READV 1
@@ -293,7 +299,11 @@
#define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1
/* #undef HAVE_STRUCT_KCMP_EPOLL_SLOT */
/* #undef HAVE_STRUCT_KEYCTL_KDF_PARAMS */
+#define HAVE_STRUCT_KVM_REGS 1
+#define HAVE_STRUCT_KVM_SREGS 1
+#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1
#define HAVE_STRUCT_MMSGHDR 1
+#define HAVE_STRUCT_MTD_WRITE_REQ 1
#define HAVE_STRUCT_NDT_CONFIG 1
#define HAVE_STRUCT_NDT_STATS 1
#define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1
@@ -311,6 +321,7 @@
#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1
#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1
#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1
+/* #undef HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES */
#define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1
#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1
/* #undef HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK */
@@ -319,6 +330,7 @@
#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1
#define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1
/* #undef HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD */
+#define HAVE_STRUCT_PTP_SYS_OFFSET 1
#define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1
/* #undef HAVE_STRUCT_PT_ALL_USER_REGS */
#define HAVE_STRUCT_RTA_MFC_STATS 1
@@ -342,7 +354,9 @@
#define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1
#define HAVE_STRUCT_TC_SIZESPEC 1
#define HAVE_STRUCT_TIMEX_TAI 1
+#define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1
#define HAVE_STRUCT_USER_DESC 1
+#define HAVE_STRUCT_USER_DESC_LM 1
#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1
#define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1
#define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1
@@ -367,8 +381,11 @@
/* #undef HAVE_UNION_BPF_ATTR_ATTACH_FLAGS */
#define HAVE_UNION_BPF_ATTR_BPF_FD 1
#define HAVE_UNION_BPF_ATTR_FLAGS 1
-/* #undef HAVE_UNION_BPF_ATTR_INNER_MAP_FD */
+/* #undef HAVE_UNION_BPF_ATTR_INFO_INFO */
+/* #undef HAVE_UNION_BPF_ATTR_NEXT_ID */
+/* #undef HAVE_UNION_BPF_ATTR_NUMA_NODE */
/* #undef HAVE_UNION_BPF_ATTR_PROG_FLAGS */
+/* #undef HAVE_UNION_BPF_ATTR_TEST_DURATION */
#define HAVE_UNISTD_H 1
/* #undef HAVE_USTAT_H */
#define HAVE_UTIMENSAT 1
@@ -384,7 +401,7 @@
/* #undef M32_SIZEOF_KERNEL_LONG_T */
/* #undef M32_SIZEOF_LONG */
/* #undef M68K */
-#define MANPAGE_DATE "2017-08-28"
+#define MANPAGE_DATE "2018-02-11"
/* #undef METAG */
/* #undef MICROBLAZE */
/* #undef MIPS */
@@ -395,10 +412,10 @@
#define PACKAGE "strace"
#define PACKAGE_BUGREPORT "strace-devel@lists.sourceforge.net"
#define PACKAGE_NAME "strace"
-#define PACKAGE_STRING "strace 4.20"
+#define PACKAGE_STRING "strace 4.21"
#define PACKAGE_TARNAME "strace"
#define PACKAGE_URL "https://strace.io"
-#define PACKAGE_VERSION "4.20"
+#define PACKAGE_VERSION "4.21"
/* #undef POWERPC */
/* #undef POWERPC64 */
/* #undef RISCV */
@@ -415,6 +432,7 @@
/* #undef SPARC64 */
#define STDC_HEADERS 1
/* #undef TILE */
+/* #undef USE_DEMANGLE */
/* #undef USE_LIBUNWIND */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
@@ -431,7 +449,7 @@
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
-#define VERSION "4.20"
+#define VERSION "4.21"
#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
@@ -79,8 +79,10 @@ build('awk', '$outdir/sen.h', {syscalls, '|', '$dir/sen.awk'}, {
})
local libsrcs = {
+ 'fetch_indirect_syscall_args.c',
'fstatfs.c',
'fstatfs64.c',
+ 'getpagesize.c',
'ipc.c',
'sigreturn.c',
'socketcall.c',
@@ -161,6 +163,7 @@ local srcs = {
'kcmp.c',
'kexec.c',
'keyctl.c',
+ 'kvm.c',
'ldt.c',
'link.c',
'listen.c',
@@ -225,6 +228,7 @@ local srcs = {
'reboot.c',
'renameat.c',
'resource.c',
+ 'riscv.c',
'rt_sigframe.c',
'rt_sigreturn.c',
'rtc.c',
@@ -241,6 +245,7 @@ local srcs = {
'rtnl_rule.c',
'rtnl_tc.c',
'rtnl_tc_action.c',
+ 's390.c',
'sched.c',
'scsi.c',
'seccomp.c',
diff --git a/pkg/strace/rev b/pkg/strace/rev
@@ -1 +1 @@
-5
+6
diff --git a/pkg/strace/sha256 b/pkg/strace/sha256
@@ -1 +1 @@
-5bf3148dd17306a42566f7da17368fdd781afa147db05ea63a4ca2b50f58c523 strace-4.20.tar.xz
+5c7688db44073e94c59a5627744e5699454419824cc8166e8bcfd7ec58375c37 strace-4.21.tar.xz
diff --git a/pkg/strace/url b/pkg/strace/url
@@ -1 +1 @@
-url = "https://downloads.sourceforge.net/project/strace/strace/4.20/strace-4.20.tar.xz"
+url = "https://github.com/strace/strace/releases/download/v4.21/strace-4.21.tar.xz"