logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 7d5f7e72f275a4391f5f6909ac0880be0ebdedfc
parent 64aac57daa7e393d25fb7129c67ab76d92caf868
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 19 Mar 2019 11:32:47 -0700

strace: Update to 5.0

Diffstat:

Mpkg/strace/.gitignore2+-
Mpkg/strace/config.h56+++++++++++++++++++++++++++++++++++++++++++++++++++-----
Mpkg/strace/gen.lua8+++++---
Mpkg/strace/sha2562+-
Mpkg/strace/url2+-
Mpkg/strace/ver2+-
6 files changed, 60 insertions(+), 12 deletions(-)

diff --git a/pkg/strace/.gitignore b/pkg/strace/.gitignore @@ -1,3 +1,3 @@ /src -/strace-4.26.tar.xz +/strace-5.0.tar.xz /tools.ninja diff --git a/pkg/strace/config.h b/pkg/strace/config.h @@ -7,7 +7,7 @@ #define ASM_SIGRTMIN 32 /* #undef AVR32 */ /* #undef BFIN */ -#define COPYRIGHT_YEAR "2018" +#define COPYRIGHT_YEAR "2019" #define ENABLE_ARM_OABI 0 /* #undef ENABLE_STACKTRACE */ #define HAVE_ACCEPT4 1 @@ -39,6 +39,8 @@ #define HAVE_DECL_KERN_NGROUPS_MAX 1 #define HAVE_DECL_KERN_NMI_WATCHDOG 1 #define HAVE_DECL_KERN_PANIC_ON_NMI 1 +#define HAVE_DECL_KERN_PANIC_ON_WARN 1 +#define HAVE_DECL_KERN_PANIC_PRINT 0 #define HAVE_DECL_KERN_PRINTK_RATELIMIT 1 #define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST 1 #define HAVE_DECL_KERN_PTY 1 @@ -280,6 +282,9 @@ #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 #define HAVE_STRUCT_BPF_INSN 1 #define HAVE_STRUCT_BPF_MAP_INFO 1 +#define HAVE_STRUCT_BPF_MAP_INFO_BTF_ID 1 +#define HAVE_STRUCT_BPF_MAP_INFO_BTF_KEY_TYPE_ID 1 +#define HAVE_STRUCT_BPF_MAP_INFO_BTF_VALUE_TYPE_ID 1 #define HAVE_STRUCT_BPF_MAP_INFO_ID 1 #define HAVE_STRUCT_BPF_MAP_INFO_IFINDEX 1 #define HAVE_STRUCT_BPF_MAP_INFO_KEY_SIZE 1 @@ -289,15 +294,31 @@ #define HAVE_STRUCT_BPF_MAP_INFO_TYPE 1 #define HAVE_STRUCT_BPF_MAP_INFO_VALUE_SIZE 1 #define HAVE_STRUCT_BPF_PROG_INFO 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_BTF_ID */ #define HAVE_STRUCT_BPF_PROG_INFO_CREATED_BY_UID 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO */ +/* #undef HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO_REC_SIZE */ #define HAVE_STRUCT_BPF_PROG_INFO_ID 1 #define HAVE_STRUCT_BPF_PROG_INFO_IFINDEX 1 +#define HAVE_STRUCT_BPF_PROG_INFO_JITED_FUNC_LENS 1 +#define HAVE_STRUCT_BPF_PROG_INFO_JITED_KSYMS 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO */ +/* #undef HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO_REC_SIZE */ #define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_INSNS 1 #define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_LEN 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO */ +/* #undef HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO_REC_SIZE */ #define HAVE_STRUCT_BPF_PROG_INFO_LOAD_TIME 1 #define HAVE_STRUCT_BPF_PROG_INFO_MAP_IDS 1 #define HAVE_STRUCT_BPF_PROG_INFO_NAME 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_NR_FUNC_INFO */ +#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_FUNC_LENS 1 +#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_KSYMS 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_LINE_INFO */ +/* #undef HAVE_STRUCT_BPF_PROG_INFO_NR_LINE_INFO */ #define HAVE_STRUCT_BPF_PROG_INFO_NR_MAP_IDS 1 +/* #undef HAVE_STRUCT_BPF_PROG_INFO_NR_PROG_TAGS */ +/* #undef HAVE_STRUCT_BPF_PROG_INFO_PROG_TAGS */ #define HAVE_STRUCT_BPF_PROG_INFO_TAG 1 #define HAVE_STRUCT_BPF_PROG_INFO_TYPE 1 #define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_INSNS 1 @@ -420,10 +441,22 @@ #define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1 #define HAVE_UNION_BPF_ATTR_ATTACH_TYPE 1 #define HAVE_UNION_BPF_ATTR_BPF_FD 1 +#define HAVE_UNION_BPF_ATTR_BTF 1 +#define HAVE_UNION_BPF_ATTR_BTF_FD 1 +#define HAVE_UNION_BPF_ATTR_BTF_ID 1 +#define HAVE_UNION_BPF_ATTR_BTF_KEY_TYPE_ID 1 +#define HAVE_UNION_BPF_ATTR_BTF_LOG_BUF 1 +#define HAVE_UNION_BPF_ATTR_BTF_LOG_LEVEL 1 +#define HAVE_UNION_BPF_ATTR_BTF_LOG_SIZE 1 +#define HAVE_UNION_BPF_ATTR_BTF_SIZE 1 +#define HAVE_UNION_BPF_ATTR_BTF_VALUE_TYPE_ID 1 /* #undef HAVE_UNION_BPF_ATTR_DUMMY */ #define HAVE_UNION_BPF_ATTR_EXPECTED_ATTACH_TYPE 1 #define HAVE_UNION_BPF_ATTR_FILE_FLAGS 1 #define HAVE_UNION_BPF_ATTR_FLAGS 1 +/* #undef HAVE_UNION_BPF_ATTR_FUNC_INFO */ +/* #undef HAVE_UNION_BPF_ATTR_FUNC_INFO_CNT */ +/* #undef HAVE_UNION_BPF_ATTR_FUNC_INFO_REC_SIZE */ #define HAVE_UNION_BPF_ATTR_INFO_BPF_FD 1 #define HAVE_UNION_BPF_ATTR_INFO_INFO 1 #define HAVE_UNION_BPF_ATTR_INFO_INFO_LEN 1 @@ -434,6 +467,9 @@ #define HAVE_UNION_BPF_ATTR_KEY 1 #define HAVE_UNION_BPF_ATTR_KEY_SIZE 1 #define HAVE_UNION_BPF_ATTR_LICENSE 1 +/* #undef HAVE_UNION_BPF_ATTR_LINE_INFO */ +/* #undef HAVE_UNION_BPF_ATTR_LINE_INFO_CNT */ +/* #undef HAVE_UNION_BPF_ATTR_LINE_INFO_REC_SIZE */ #define HAVE_UNION_BPF_ATTR_LOG_BUF 1 #define HAVE_UNION_BPF_ATTR_LOG_LEVEL 1 #define HAVE_UNION_BPF_ATTR_LOG_SIZE 1 @@ -449,6 +485,7 @@ #define HAVE_UNION_BPF_ATTR_NUMA_NODE 1 #define HAVE_UNION_BPF_ATTR_OPEN_FLAGS 1 #define HAVE_UNION_BPF_ATTR_PATHNAME 1 +/* #undef HAVE_UNION_BPF_ATTR_PROG_BTF_FD */ #define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1 #define HAVE_UNION_BPF_ATTR_PROG_ID 1 #define HAVE_UNION_BPF_ATTR_PROG_IFINDEX 1 @@ -464,6 +501,15 @@ #define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_PROG_FD 1 #define HAVE_UNION_BPF_ATTR_START_ID 1 #define HAVE_UNION_BPF_ATTR_TARGET_FD 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF_LEN 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD_TYPE 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FLAGS 1 +#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PID 1 +#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 #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 @@ -490,7 +536,7 @@ /* #undef M32_SIZEOF_KERNEL_LONG_T */ /* #undef M32_SIZEOF_LONG */ /* #undef M68K */ -#define MANPAGE_DATE "2018-12-24" +#define MANPAGE_DATE "2019-03-17" /* #undef METAG */ /* #undef MICROBLAZE */ /* #undef MIPS */ @@ -501,10 +547,10 @@ #define PACKAGE "strace" #define PACKAGE_BUGREPORT "strace-devel@lists.strace.io" #define PACKAGE_NAME "strace" -#define PACKAGE_STRING "strace 4.26" +#define PACKAGE_STRING "strace 5.0" #define PACKAGE_TARNAME "strace" #define PACKAGE_URL "https://strace.io" -#define PACKAGE_VERSION "4.26" +#define PACKAGE_VERSION "5.0" /* #undef POWERPC */ /* #undef POWERPC64 */ /* #undef RISCV */ @@ -540,7 +586,7 @@ # define __EXTENSIONS__ 1 #endif /* #undef USE_UNWINDER */ -#define VERSION "4.26" +#define VERSION "5.0" #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 @@ -66,11 +66,13 @@ build('cat', '$outdir/scno.h', {'$srcdir/scno.head', '$outdir/scno-syscallent.h' -- this seems to be enough syscall headers to build local syscalls = expand{'$srcdir/linux/', { - 'subcall.h', - 'arm/syscallent.h', '32/syscallent.h', '64/syscallent.h', + 'arm/syscallent.h', 'i386/syscallent.h', + 'sparc/syscallent.h', + 'sparc64/syscallent.h', + 'subcall.h', 'x86_64/syscallent.h', }} build('awk', '$outdir/sen.h', {syscalls, '|', '$dir/sen.awk'}, { @@ -189,8 +191,8 @@ local srcs = { 'net.c', 'netlink.c', 'netlink_crypto.c', - 'netlink_kobject_uevent.c', 'netlink_inet_diag.c', + 'netlink_kobject_uevent.c', 'netlink_netfilter.c', 'netlink_netlink_diag.c', 'netlink_packet_diag.c', diff --git a/pkg/strace/sha256 b/pkg/strace/sha256 @@ -1 +1 @@ -7c4d2ffeef4f7d1cdc71062ca78d1130eb52f947c2fca82f59f6a1183bfa1e1c strace-4.26.tar.xz +3b7ad77eb2b81dc6078046a9cc56eed5242b67b63748e7fc28f7c2daf4e647da strace-5.0.tar.xz diff --git a/pkg/strace/url b/pkg/strace/url @@ -1 +1 @@ -url = "https://github.com/strace/strace/releases/download/v4.26/strace-4.26.tar.xz" +url = "https://github.com/strace/strace/releases/download/v5.0/strace-5.0.tar.xz" diff --git a/pkg/strace/ver b/pkg/strace/ver @@ -1 +1 @@ -4.26 r0 +5.0 r0