diff options
Diffstat (limited to 'packages/strace/4.26')
-rw-r--r-- | packages/strace/4.26/0000-mips-o32-fix-build.patch | 92 | ||||
-rw-r--r-- | packages/strace/4.26/chksum | 4 | ||||
-rw-r--r-- | packages/strace/4.26/version.desc | 1 |
3 files changed, 0 insertions, 97 deletions
diff --git a/packages/strace/4.26/0000-mips-o32-fix-build.patch b/packages/strace/4.26/0000-mips-o32-fix-build.patch deleted file mode 100644 index afb1f40a..00000000 --- a/packages/strace/4.26/0000-mips-o32-fix-build.patch +++ /dev/null @@ -1,92 +0,0 @@ -commit 2c8b6de913973274e877639658e9e7273a012adb -Author: Dmitry V. Levin <ldv@altlinux.org> -Date: Tue Jan 8 19:23:44 2019 +0000 - - mips o32: fix build - - Commit 917c2ccf3a67 "Refactor stack pointers" moved mips_REG_* macros - from linux/mips/arch_regs.h to linux/mips/arch_regs.c because these - macros are no longer used outside syscall.c or files included by - syscall.c, but this caused a build regression on mips o32 because - decode_syscall_subcall() uses mips_REG_SP prior to its definition. - - * syscall.c (decode_syscall_subcall): Move ... - * linux/mips/get_syscall_args.c: ... here. - * NEWS: Mention this fix. - - Reported-by: Baruch Siach <baruch@tkos.co.il> - Fixes: v4.26~61 "Refactor stack pointers" - ---- - linux/mips/get_syscall_args.c | 26 ++++++++++++++++++++++++++ - syscall.c | 27 ++------------------------- - 2 files changed, 28 insertions(+), 25 deletions(-) - ---- a/linux/mips/get_syscall_args.c -+++ b/linux/mips/get_syscall_args.c -@@ -37,3 +37,29 @@ - #endif - return 1; - } -+ -+#ifdef SYS_syscall_subcall -+static void -+decode_syscall_subcall(struct tcb *tcp) -+{ -+ if (!scno_is_valid(tcp->u_arg[0])) -+ return; -+ tcp->scno = tcp->u_arg[0]; -+ tcp->qual_flg = qual_flags(tcp->scno); -+ tcp->s_ent = &sysent[tcp->scno]; -+ memmove(&tcp->u_arg[0], &tcp->u_arg[1], -+ sizeof(tcp->u_arg) - sizeof(tcp->u_arg[0])); -+ /* -+ * Fetching the last arg of 7-arg syscalls (fadvise64_64 -+ * and sync_file_range) requires additional code, -+ * see linux/mips/get_syscall_args.c -+ */ -+ if (tcp->s_ent->nargs == MAX_ARGS) { -+ if (umoven(tcp, -+ mips_REG_SP + MAX_ARGS * sizeof(tcp->u_arg[0]), -+ sizeof(tcp->u_arg[0]), -+ &tcp->u_arg[MAX_ARGS - 1]) < 0) -+ tcp->u_arg[MAX_ARGS - 1] = 0; -+ } -+} -+#endif /* SYS_syscall_subcall */ ---- a/syscall.c -+++ b/syscall.c -@@ -349,31 +349,8 @@ - #endif /* SYS_ipc_subcall */ - - #ifdef SYS_syscall_subcall --static void --decode_syscall_subcall(struct tcb *tcp) --{ -- if (!scno_is_valid(tcp->u_arg[0])) -- return; -- tcp->scno = tcp->u_arg[0]; -- tcp->qual_flg = qual_flags(tcp->scno); -- tcp->s_ent = &sysent[tcp->scno]; -- memmove(&tcp->u_arg[0], &tcp->u_arg[1], -- sizeof(tcp->u_arg) - sizeof(tcp->u_arg[0])); --# ifdef LINUX_MIPSO32 -- /* -- * Fetching the last arg of 7-arg syscalls (fadvise64_64 -- * and sync_file_range) requires additional code, -- * see linux/mips/get_syscall_args.c -- */ -- if (tcp->s_ent->nargs == MAX_ARGS) { -- if (umoven(tcp, -- mips_REG_SP + MAX_ARGS * sizeof(tcp->u_arg[0]), -- sizeof(tcp->u_arg[0]), -- &tcp->u_arg[MAX_ARGS - 1]) < 0) -- tcp->u_arg[MAX_ARGS - 1] = 0; -- } --# endif /* LINUX_MIPSO32 */ --} -+/* The implementation is architecture specific. */ -+static void decode_syscall_subcall(struct tcb *); - #endif /* SYS_syscall_subcall */ - - static void diff --git a/packages/strace/4.26/chksum b/packages/strace/4.26/chksum deleted file mode 100644 index 1bb3345d..00000000 --- a/packages/strace/4.26/chksum +++ /dev/null @@ -1,4 +0,0 @@ -md5 strace-4.26.tar.xz daa51acc0c7c696221ec03cf0b30a7af -sha1 strace-4.26.tar.xz b4a054adb74563fc121bcd19b158f58955a20a33 -sha256 strace-4.26.tar.xz 7c4d2ffeef4f7d1cdc71062ca78d1130eb52f947c2fca82f59f6a1183bfa1e1c -sha512 strace-4.26.tar.xz cce153246802fcdb1547bc11164784066101a2e672e2a264cb742593b559e579aa4bedc749d87fdd1fc2045f4f79b54d419bb50c823074d2cca6f3c75ccf2290 diff --git a/packages/strace/4.26/version.desc b/packages/strace/4.26/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/strace/4.26/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' |