mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
strace: Remove obsolete versions
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - strace-4.10 - strace-4.11 - strace-4.12 - strace-4.13 - strace-4.14 - strace-4.5.20 - strace-4.6 - strace-4.7 - strace-4.8 - strace-4.9 Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
bb4d2a458c
commit
e4394bf9bb
@ -1,23 +0,0 @@
|
||||
commit d76d3069526c348e6fe5d40bbbceb2ae4a928d16
|
||||
Author: Dmitry V. Levin <ldv@altlinux.org>
|
||||
Date: Wed Mar 11 14:32:25 2015 +0000
|
||||
|
||||
aarch64: fix rt_sigreturn decoding
|
||||
|
||||
* sigreturn.c (sys_sigreturn) [AARCH64]: Fix personality check.
|
||||
|
||||
---
|
||||
sigreturn.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/sigreturn.c
|
||||
+++ b/sigreturn.c
|
||||
@@ -23,7 +23,7 @@
|
||||
# define OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK (5 * 4 + SIZEOF_STRUCT_SIGCONTEXT)
|
||||
const long addr =
|
||||
# ifdef AARCH64
|
||||
- current_personality == 0 ?
|
||||
+ current_personality == 1 ?
|
||||
(*aarch64_sp_ptr + SIZEOF_STRUCT_SIGINFO +
|
||||
offsetof(struct ucontext, uc_sigmask)) :
|
||||
# endif
|
24
packages/strace/4.10/0001-arm_mmap2.patch
vendored
24
packages/strace/4.10/0001-arm_mmap2.patch
vendored
@ -1,24 +0,0 @@
|
||||
commit dbadf7bcc8995612d5ef737047b909e868387e37
|
||||
Author: Andreas Schwab <schwab@suse.de>
|
||||
Date: Mon Mar 9 16:55:06 2015 +0100
|
||||
|
||||
Fix decoding of mmap2 for arm
|
||||
|
||||
* syscallent.h (mmap2): Decode with sys_mmap_4koff, not
|
||||
sys_mmap_pgoff.
|
||||
|
||||
---
|
||||
linux/arm/syscallent.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/linux/arm/syscallent.h
|
||||
+++ b/linux/arm/syscallent.h
|
||||
@@ -218,7 +218,7 @@
|
||||
[189] = { 5, 0, sys_putpmsg, "putpmsg" },
|
||||
[190] = { 0, TP, sys_vfork, "vfork" },
|
||||
[191] = { 2, 0, sys_getrlimit, "ugetrlimit" },
|
||||
-[192] = { 6, TD|TM|SI, sys_mmap_pgoff, "mmap2" },
|
||||
+[192] = { 6, TD|TM|SI, sys_mmap_4koff, "mmap2" },
|
||||
[193] = { 4, TF, sys_truncate64, "truncate64" },
|
||||
[194] = { 4, TD, sys_ftruncate64, "ftruncate64" },
|
||||
[195] = { 2, TF, sys_stat64, "stat64" },
|
@ -1,28 +0,0 @@
|
||||
commit 64fc9cedc475b2fc0d940509dc4232b02b5f83ec
|
||||
Author: Andreas Schwab <schwab@suse.de>
|
||||
Date: Thu Mar 12 11:54:08 2015 +0100
|
||||
|
||||
Distribute linux/aarch64/arch_regs.h
|
||||
|
||||
* Makefile.am (EXTRA_DIST): Add linux/aarch64/arch_regs.h.
|
||||
|
||||
---
|
||||
Makefile.am | 1 +
|
||||
linux/aarch64/arch_regs.h | 2 ++
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -164,6 +164,7 @@
|
||||
linux/32/syscallent.h \
|
||||
linux/64/ioctls_inc.h \
|
||||
linux/64/syscallent.h \
|
||||
+ linux/aarch64/arch_regs.h \
|
||||
linux/aarch64/errnoent1.h \
|
||||
linux/aarch64/ioctls_arch0.h \
|
||||
linux/aarch64/ioctls_arch1.h \
|
||||
--- /dev/null
|
||||
+++ b/linux/aarch64/arch_regs.h
|
||||
@@ -0,0 +1,2 @@
|
||||
+extern uint64_t *const aarch64_sp_ptr;
|
||||
+extern uint32_t *const arm_sp_ptr;
|
89
packages/strace/4.10/0003-stat64-v.test.patch
vendored
89
packages/strace/4.10/0003-stat64-v.test.patch
vendored
@ -1,89 +0,0 @@
|
||||
commit f79252f072a193bdff435afeaa6b6cd6d5c79947
|
||||
Author: Dmitry V. Levin <ldv@altlinux.org>
|
||||
Date: Mon Mar 16 17:18:40 2015 +0000
|
||||
|
||||
stat64-v.test: add newfstatat syscall support
|
||||
|
||||
Newer architectures have no stat syscall, so stat() is implemented there
|
||||
using newfstatat syscall.
|
||||
|
||||
* tests/stat.c (STAT_FNAME): Rename to STAT_PREFIX. Update callers.
|
||||
[_FILE_OFFSET_BITS == 64] (STAT_PREFIX): Add newfstatat support.
|
||||
(main) [!NR_stat]: Add newfstatat support.
|
||||
|
||||
Reported-by: Andreas Schwab <schwab@suse.de>
|
||||
|
||||
---
|
||||
tests/stat.c | 24 ++++++++++++++----------
|
||||
1 file changed, 14 insertions(+), 10 deletions(-)
|
||||
|
||||
--- a/tests/stat.c
|
||||
+++ b/tests/stat.c
|
||||
@@ -14,22 +14,22 @@
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
-#undef STAT_FNAME
|
||||
+#undef STAT_PREFIX
|
||||
#undef NR_stat
|
||||
|
||||
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
|
||||
# include <sys/stat.h>
|
||||
-# define STAT_FNAME "stat(64)?"
|
||||
+# define STAT_PREFIX "(stat(64)?\\(|newfstatat\\(AT_FDCWD, )"
|
||||
#else
|
||||
# include <sys/syscall.h>
|
||||
# if defined __NR_stat
|
||||
# define NR_stat __NR_stat
|
||||
-# define STAT_FNAME "stat"
|
||||
+# define STAT_PREFIX "stat\\("
|
||||
# elif defined __NR_newstat
|
||||
# define NR_stat __NR_newstat
|
||||
-# define STAT_FNAME "newstat"
|
||||
+# define STAT_PREFIX "newstat\\("
|
||||
# endif
|
||||
-# ifdef STAT_FNAME
|
||||
+# ifdef STAT_PREFIX
|
||||
/* for S_IFMT */
|
||||
# define stat libc_stat
|
||||
# define stat64 libc_stat64
|
||||
@@ -57,10 +57,10 @@
|
||||
# define off_t __kernel_off_t
|
||||
# define loff_t __kernel_loff_t
|
||||
# include <asm/stat.h>
|
||||
-# endif /* STAT_FNAME */
|
||||
+# endif /* STAT_PREFIX */
|
||||
#endif /* _FILE_OFFSET_BITS */
|
||||
|
||||
-#ifdef STAT_FNAME
|
||||
+#ifdef STAT_PREFIX
|
||||
|
||||
static void
|
||||
print_ftype(unsigned int mode)
|
||||
@@ -115,7 +115,7 @@
|
||||
assert(stat(av[1], &stb) == 0);
|
||||
#endif
|
||||
|
||||
- printf(STAT_FNAME "\\(\"%s\", \\{", av[1]);
|
||||
+ printf(STAT_PREFIX "\"%s\", \\{", av[1]);
|
||||
printf("st_dev=makedev\\(%u, %u\\)",
|
||||
(unsigned int) major(stb.st_dev),
|
||||
(unsigned int) minor(stb.st_dev));
|
||||
@@ -159,11 +159,15 @@
|
||||
printf("(, st_flags=[0-9]+)?");
|
||||
printf("(, st_fstype=[^,]*)?");
|
||||
printf("(, st_gen=[0-9]+)?");
|
||||
- printf("\\}\\) += 0\n");
|
||||
+ printf("\\}");
|
||||
+#ifndef NR_stat
|
||||
+ printf("(, 0)?");
|
||||
+#endif
|
||||
+ printf("\\) += 0\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
-#else /* !STAT_FNAME */
|
||||
+#else /* !STAT_PREFIX */
|
||||
int main(void)
|
||||
{
|
||||
return 77;
|
49
packages/strace/4.10/0004-select_test.patch
vendored
49
packages/strace/4.10/0004-select_test.patch
vendored
@ -1,49 +0,0 @@
|
||||
commit 95336102eb836ba69a2b51a3bbe733abd63bbe77
|
||||
Author: Andreas Schwab <schwab@suse.de>
|
||||
Date: Thu Mar 12 16:47:38 2015 +0100
|
||||
|
||||
tests/select.test: handle architectures using pselect6 syscall
|
||||
|
||||
* tests/select.awk (BEGIN): Update regexps to match both select
|
||||
and pselect6 syscalls.
|
||||
* tests/select.test: Probe for both select and pselect6 syscall.
|
||||
|
||||
---
|
||||
tests/select.awk | 6 +++---
|
||||
tests/select.test | 7 +++++--
|
||||
2 files changed, 8 insertions(+), 5 deletions(-)
|
||||
|
||||
--- a/tests/select.awk
|
||||
+++ b/tests/select.awk
|
||||
@@ -1,7 +1,7 @@
|
||||
BEGIN {
|
||||
- r[1] = "^select\\(2, \\[0 1\\], \\[0 1\\], \\[0 1\\], NULL\\) += 1 \\(\\)$"
|
||||
- r[2] = "^select\\(-1, NULL, 0x[0-9a-f]+, NULL, NULL\\) += -1 "
|
||||
- r[3] = "^select\\(1025, \\[0\\], \\[\\], NULL, \\{0, 100\\}\\) += 0 \\(Timeout\\)$"
|
||||
+ r[1] = "^p?select6?\\(2, \\[0 1\\], \\[0 1\\], \\[0 1\\], NULL(, 0)?\\) += 1 \\(\\)$"
|
||||
+ r[2] = "^p?select6?\\(-1, NULL, 0x[0-9a-f]+, NULL, NULL(, 0)?\\) += -1 "
|
||||
+ r[3] = "^p?select6?\\(1025, \\[0\\], \\[\\], NULL, \\{0, 100(000)?\\}(, 0)?\\) += 0 \\(Timeout\\)$"
|
||||
r[4] = "^\\+\\+\\+ exited with 0 \\+\\+\\+$"
|
||||
lines = 4
|
||||
fail = 0
|
||||
--- a/tests/select.test
|
||||
+++ b/tests/select.test
|
||||
@@ -6,13 +6,16 @@
|
||||
|
||||
check_prog awk
|
||||
|
||||
-$STRACE -eselect -h > /dev/null ||
|
||||
+syscall=
|
||||
+$STRACE -epselect6 -h > /dev/null && syscall=$syscall,pselect6
|
||||
+$STRACE -eselect -h > /dev/null && syscall=$syscall,select
|
||||
+test -n "$syscall" ||
|
||||
skip_ 'select syscall is not supported on this architecture'
|
||||
|
||||
./select ||
|
||||
framework_skip_ 'select syscall does not behave as expected'
|
||||
|
||||
-args='-eselect ./select'
|
||||
+args="-e$syscall ./select"
|
||||
$STRACE -o "$LOG" $args || {
|
||||
cat "$LOG"
|
||||
fail_ "$STRACE $args failed"
|
@ -1,38 +0,0 @@
|
||||
commit 0e3811d7914f209858cf4e445221fd65644cc94b
|
||||
Author: Andreas Schwab <schwab@suse.de>
|
||||
Date: Thu Mar 12 18:07:00 2015 +0100
|
||||
|
||||
aarch64: fix ioctl decoding
|
||||
|
||||
* linux/aarch64/ioctls_inc0.h: Rename from ioctls_inc1.h.
|
||||
* linux/aarch64/ioctls_inc1.h: Rename from ioctls_inc0.h.
|
||||
* linux/aarch64/ioctls_arch0.h: Rename from ioctls_arch1.h.
|
||||
* linux/aarch64/ioctls_arch1.h: Rename from ioctls_arch0.h.
|
||||
|
||||
---
|
||||
linux/aarch64/ioctls_arch0.h | 2 +-
|
||||
linux/aarch64/ioctls_arch1.h | 2 +-
|
||||
linux/aarch64/ioctls_inc0.h | 2 +-
|
||||
linux/aarch64/ioctls_inc1.h | 2 +-
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
--- a/linux/aarch64/ioctls_arch0.h
|
||||
+++ b/linux/aarch64/ioctls_arch0.h
|
||||
@@ -1 +1 @@
|
||||
-/* Generated by ioctls_gen.sh from definitions found in $linux/arch/arm64/include/ tree. */
|
||||
+#include "arm/ioctls_arch0.h"
|
||||
--- a/linux/aarch64/ioctls_arch1.h
|
||||
+++ b/linux/aarch64/ioctls_arch1.h
|
||||
@@ -1 +1 @@
|
||||
-#include "arm/ioctls_arch0.h"
|
||||
+/* Generated by ioctls_gen.sh from definitions found in $linux/arch/arm64/include/ tree. */
|
||||
--- a/linux/aarch64/ioctls_inc0.h
|
||||
+++ b/linux/aarch64/ioctls_inc0.h
|
||||
@@ -1 +1 @@
|
||||
-#include "64/ioctls_inc.h"
|
||||
+#include "arm/ioctls_inc0.h"
|
||||
--- a/linux/aarch64/ioctls_inc1.h
|
||||
+++ b/linux/aarch64/ioctls_inc1.h
|
||||
@@ -1 +1 @@
|
||||
-#include "arm/ioctls_inc0.h"
|
||||
+#include "64/ioctls_inc.h"
|
@ -1,24 +0,0 @@
|
||||
commit b704e8fbb4d9cf90ac56f3c889de5b779c444db4
|
||||
(loosely based on)
|
||||
---
|
||||
tests/bexecve.test | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/tests/bexecve.test
|
||||
+++ b/tests/bexecve.test
|
||||
@@ -24,13 +24,14 @@
|
||||
}
|
||||
|
||||
pattern='Process [1-9][0-9]* detached'
|
||||
+pattern_personality='\[ Process PID=[1-9][0-9]* runs in .* mode. \]'
|
||||
|
||||
LC_ALL=C grep -x "$pattern" "$LOG" > /dev/null || {
|
||||
cat "$LOG"
|
||||
fail_ "$what: unexpected output"
|
||||
}
|
||||
|
||||
-if LC_ALL=C grep -v -x "$pattern" "$LOG" > /dev/null; then
|
||||
+if LC_ALL=C grep -E -v -x "($pattern|$pattern_personality)" "$LOG" > /dev/null; then
|
||||
cat "$LOG"
|
||||
fail_ "$what: unexpected output"
|
||||
fi
|
@ -1,67 +0,0 @@
|
||||
commit f34b97f89dd3893ef3652a6899487771402fc13c
|
||||
---
|
||||
linux/mips/syscallent-o32.h | 2 +-
|
||||
linux/syscall.h | 1 +
|
||||
syscall.c | 24 ++++++++++++++++++++++++
|
||||
3 files changed, 26 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/linux/mips/syscallent-o32.h
|
||||
+++ b/linux/mips/syscallent-o32.h
|
||||
@@ -1,6 +1,6 @@
|
||||
#if defined LINUX_MIPSO32
|
||||
/* For an O32 strace, decode the o32 syscalls. */
|
||||
-[4000] = { MA, 0, printargs, "syscall" }, /* start of Linux o32 */
|
||||
+[4000] = { MA, 0, sys_syscall, "syscall" }, /* start of Linux o32 */
|
||||
[4001] = { 1, TP|SE, sys_exit, "exit" },
|
||||
[4002] = { 0, TP, sys_fork, "fork" },
|
||||
[4003] = { 3, TD, sys_read, "read" },
|
||||
--- a/syscall.c
|
||||
+++ b/syscall.c
|
||||
@@ -606,6 +606,25 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifdef LINUX_MIPSO32
|
||||
+static void
|
||||
+decode_mips_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]));
|
||||
+}
|
||||
+
|
||||
+int sys_syscall(struct tcb *tcp)
|
||||
+{
|
||||
+ return printargs(tcp);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
int
|
||||
printargs(struct tcb *tcp)
|
||||
{
|
||||
@@ -1774,6 +1793,11 @@
|
||||
goto ret;
|
||||
}
|
||||
|
||||
+#ifdef LINUX_MIPSO32
|
||||
+ if (sys_syscall == tcp->s_ent->sys_func)
|
||||
+ decode_mips_subcall(tcp);
|
||||
+#endif
|
||||
+
|
||||
if ( sys_execve == tcp->s_ent->sys_func
|
||||
# if defined(SPARC) || defined(SPARC64)
|
||||
|| sys_execv == tcp->s_ent->sys_func
|
||||
--- a/linux/syscall.h
|
||||
+++ b/linux/syscall.h
|
||||
@@ -277,6 +277,7 @@
|
||||
int sys_symlinkat();
|
||||
int sys_sync_file_range();
|
||||
int sys_sync_file_range2();
|
||||
+int sys_syscall();
|
||||
int sys_sysctl();
|
||||
int sys_sysinfo();
|
||||
int sys_syslog();
|
@ -1,63 +0,0 @@
|
||||
commit 3460dc486d333231998de0f19918204aacee9ae3
|
||||
commit d34e00b293942b1012ddc49ed3ab379a32337611
|
||||
---
|
||||
evdev.c | 2 ++
|
||||
ioctl.c | 2 +-
|
||||
ioctlsort.c | 2 +-
|
||||
mknod.c | 1 +
|
||||
printmode.c | 1 +
|
||||
5 files changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/evdev.c
|
||||
+++ b/evdev.c
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
#ifdef HAVE_LINUX_INPUT_H
|
||||
#include <linux/input.h>
|
||||
#include "xlat/evdev_abs.h"
|
||||
--- a/ioctl.c
|
||||
+++ b/ioctl.c
|
||||
@@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
#include "defs.h"
|
||||
-#include <asm/ioctl.h>
|
||||
+#include <linux/ioctl.h>
|
||||
#include "xlat/ioctl_dirs.h"
|
||||
|
||||
#ifdef HAVE_LINUX_INPUT_H
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <asm/ioctl.h>
|
||||
+#include <linux/ioctl.h>
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/mknod.c
|
||||
+++ b/mknod.c
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
#ifdef MAJOR_IN_SYSMACROS
|
||||
# include <sys/sysmacros.h>
|
||||
--- a/printmode.c
|
||||
+++ b/printmode.c
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
+#include <sys/stat.h>
|
||||
|
||||
#include "xlat/modetypes.h"
|
||||
|
145
packages/strace/4.10/0009-use-host-ioctl.patch
vendored
145
packages/strace/4.10/0009-use-host-ioctl.patch
vendored
@ -1,145 +0,0 @@
|
||||
---
|
||||
Makefile.am | 14 ++++++++++++--
|
||||
Makefile.in | 14 ++++++++++++--
|
||||
ioctl_iocdef.c | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
ioctlsort.c | 3 ++-
|
||||
4 files changed, 69 insertions(+), 5 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/ioctl_iocdef.c
|
||||
@@ -0,0 +1,43 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
||||
+ * All rights reserved.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions
|
||||
+ * are met:
|
||||
+ * 1. Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * 3. The name of the author may not be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
||||
+ * is included into ioctlsort (which is compiled for build). Since some
|
||||
+ * of these values are used in structure initializers, they cannot be
|
||||
+ * defined as 'const unsigned int' - instead, they have to be macros.
|
||||
+ * Hence, the result of preprocessing will be run through sed to change
|
||||
+ * 'DEFINE' into '#define'
|
||||
+ */
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
+DEFINE HOST_IOC_NONE _IOC_NONE
|
||||
+DEFINE HOST_IOC_READ _IOC_READ
|
||||
+DEFINE HOST_IOC_WRITE _IOC_WRITE
|
||||
+
|
||||
+DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
||||
+DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <linux/ioctl.h>
|
||||
+
|
||||
+#include "ioctl_iocdef.h"
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -159,6 +159,7 @@
|
||||
debian/strace64.manpages \
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/syscallent.h \
|
||||
@@ -417,15 +418,24 @@
|
||||
ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h)
|
||||
ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h))
|
||||
BUILT_SOURCES += $(ioctlent_h)
|
||||
-CLEANFILES = $(ioctlent_h)
|
||||
+CLEANFILES = $(ioctlent_h) ioctl_iocdef.h
|
||||
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -687,6 +687,7 @@
|
||||
debian/strace64.manpages \
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/syscallent.h \
|
||||
@@ -921,7 +922,7 @@
|
||||
ioctlsort_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD)
|
||||
ioctls_inc_h = $(wildcard $(srcdir)/$(OS)/$(ARCH)/ioctls_inc*.h)
|
||||
ioctlent_h = $(patsubst $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%,ioctlent%,$(ioctls_inc_h))
|
||||
-CLEANFILES = $(ioctlent_h)
|
||||
+CLEANFILES = $(ioctlent_h) ioctl_iocdef.h
|
||||
@MAINTAINER_MODE_TRUE@gen_changelog_start_date = 2009-07-08 20:00
|
||||
all: $(BUILT_SOURCES) config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
@@ -3414,13 +3415,22 @@
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
4
packages/strace/4.10/chksum
vendored
4
packages/strace/4.10/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.10.tar.xz 107a5be455493861189e9b57a3a51912
|
||||
sha1 strace-4.10.tar.xz 5c3ec4c5a9eeb440d7ec70514923c2e7e7f9ab6c
|
||||
sha256 strace-4.10.tar.xz e6180d866ef9e76586b96e2ece2bfeeb3aa23f5cc88153f76e9caedd65e40ee2
|
||||
sha512 strace-4.10.tar.xz 53d55b749224927cfcc9783db57eb8a057fc1329b2f5da2f54299dab17d530f5d1359480f03bea307fb72f6f372e50a0dbf0bd25d36a57a77632d9c1f690fc1d
|
1
packages/strace/4.10/version.desc
vendored
1
packages/strace/4.10/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
147
packages/strace/4.11/0000-use-host-ioctl.patch
vendored
147
packages/strace/4.11/0000-use-host-ioctl.patch
vendored
@ -1,147 +0,0 @@
|
||||
---
|
||||
Makefile.am | 14 ++++++++++++--
|
||||
Makefile.in | 14 ++++++++++++--
|
||||
ioctl_iocdef.c | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
ioctlsort.c | 3 ++-
|
||||
4 files changed, 69 insertions(+), 5 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/ioctl_iocdef.c
|
||||
@@ -0,0 +1,43 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
||||
+ * All rights reserved.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions
|
||||
+ * are met:
|
||||
+ * 1. Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * 3. The name of the author may not be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
||||
+ * is included into ioctlsort (which is compiled for build). Since some
|
||||
+ * of these values are used in structure initializers, they cannot be
|
||||
+ * defined as 'const unsigned int' - instead, they have to be macros.
|
||||
+ * Hence, the result of preprocessing will be run through sed to change
|
||||
+ * 'DEFINE' into '#define'
|
||||
+ */
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
+DEFINE HOST_IOC_NONE _IOC_NONE
|
||||
+DEFINE HOST_IOC_READ _IOC_READ
|
||||
+DEFINE HOST_IOC_WRITE _IOC_WRITE
|
||||
+
|
||||
+DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
||||
+DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <linux/ioctl.h>
|
||||
+
|
||||
+#include "ioctl_iocdef.h"
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -239,6 +239,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -666,17 +667,26 @@
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
cat $^ > $@
|
||||
|
||||
BUILT_SOURCES = $(ioctlent_h) native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version
|
||||
-CLEANFILES = $(ioctlent_h) native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
|
||||
+CLEANFILES = $(ioctlent_h) ioctl_iocdef.h native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
|
||||
# defines mpers_source_files
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -848,6 +848,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -1243,7 +1244,7 @@
|
||||
BUILT_SOURCES = $(ioctlent_h) native_printer_decls.h \
|
||||
native_printer_defs.h printers.h sen.h sys_func.h .version \
|
||||
$(am__append_7) $(am__append_11)
|
||||
-CLEANFILES = $(ioctlent_h) native_printer_decls.h \
|
||||
+CLEANFILES = $(ioctlent_h) ioctl_iocdef.h native_printer_decls.h \
|
||||
native_printer_defs.h printers.h sen.h sys_func.h \
|
||||
$(am__append_8) $(am__append_12)
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
@@ -4829,13 +4830,22 @@
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
4
packages/strace/4.11/chksum
vendored
4
packages/strace/4.11/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.11.tar.xz a15d2555a7febb56d00c6e1a51c655dc
|
||||
sha1 strace-4.11.tar.xz 8fd717dc3c51b69fde51ce0bdb066404a678363c
|
||||
sha256 strace-4.11.tar.xz e86a5f6cd8f941f67f3e4b28f4e60f3d9185c951cf266404533210a2e5cd8152
|
||||
sha512 strace-4.11.tar.xz e1e07ed427f504f53bcd117b61bb96a780b0f531010856ed157e4d8c2090371bf320ab59a02b88e67bf2afd443fba67e12f90e53afeab795188c89c6496daecd
|
1
packages/strace/4.11/version.desc
vendored
1
packages/strace/4.11/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
148
packages/strace/4.12/0000-use-host-ioctl.patch
vendored
148
packages/strace/4.12/0000-use-host-ioctl.patch
vendored
@ -1,148 +0,0 @@
|
||||
---
|
||||
Makefile.am | 14 ++++++++++++--
|
||||
Makefile.in | 14 ++++++++++++--
|
||||
ioctl_iocdef.c | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
ioctlsort.c | 3 ++-
|
||||
4 files changed, 69 insertions(+), 5 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/ioctl_iocdef.c
|
||||
@@ -0,0 +1,43 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
||||
+ * All rights reserved.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions
|
||||
+ * are met:
|
||||
+ * 1. Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * 3. The name of the author may not be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
||||
+ * is included into ioctlsort (which is compiled for build). Since some
|
||||
+ * of these values are used in structure initializers, they cannot be
|
||||
+ * defined as 'const unsigned int' - instead, they have to be macros.
|
||||
+ * Hence, the result of preprocessing will be run through sed to change
|
||||
+ * 'DEFINE' into '#define'
|
||||
+ */
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
+DEFINE HOST_IOC_NONE _IOC_NONE
|
||||
+DEFINE HOST_IOC_READ _IOC_READ
|
||||
+DEFINE HOST_IOC_WRITE _IOC_WRITE
|
||||
+
|
||||
+DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
||||
+DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <linux/ioctl.h>
|
||||
+
|
||||
+#include "ioctl_iocdef.h"
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -274,6 +274,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -712,10 +713,19 @@
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
@@ -723,7 +733,7 @@
|
||||
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) ioctl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -952,6 +952,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -1351,7 +1352,7 @@
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) native_printer_decls.h \
|
||||
native_printer_defs.h printers.h sen.h sys_func.h .version \
|
||||
$(am__append_7) $(am__append_11)
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) octl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h \
|
||||
sys_func.h $(am__append_8) $(am__append_12)
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
@@ -5506,13 +5507,22 @@
|
||||
rm -f $<-t
|
||||
mv $@-t $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
4
packages/strace/4.12/chksum
vendored
4
packages/strace/4.12/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.12.tar.xz efb8611fc332e71ec419c53f59faa93e
|
||||
sha1 strace-4.12.tar.xz 30d79bc07e46a8672decb945e458447c1b66e496
|
||||
sha256 strace-4.12.tar.xz 51144b78cb9ba22211b95a5aafe0af3694c0d575b25975d80ca9dd4dfd7c1e59
|
||||
sha512 strace-4.12.tar.xz 1df57c5d684cebee370bbd88f11cb568ffbe178b38060384920083da83888a78244483b3464c79fc0cccf6f14bb09538cf84bc1fd1fc43b959c7d4724548afb8
|
1
packages/strace/4.12/version.desc
vendored
1
packages/strace/4.12/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
148
packages/strace/4.13/0000-use-host-ioctl.patch
vendored
148
packages/strace/4.13/0000-use-host-ioctl.patch
vendored
@ -1,148 +0,0 @@
|
||||
---
|
||||
Makefile.am | 14 ++++++++++++--
|
||||
Makefile.in | 14 ++++++++++++--
|
||||
ioctl_iocdef.c | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
ioctlsort.c | 3 ++-
|
||||
4 files changed, 69 insertions(+), 5 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/ioctl_iocdef.c
|
||||
@@ -0,0 +1,43 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
||||
+ * All rights reserved.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions
|
||||
+ * are met:
|
||||
+ * 1. Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * 3. The name of the author may not be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
||||
+ * is included into ioctlsort (which is compiled for build). Since some
|
||||
+ * of these values are used in structure initializers, they cannot be
|
||||
+ * defined as 'const unsigned int' - instead, they have to be macros.
|
||||
+ * Hence, the result of preprocessing will be run through sed to change
|
||||
+ * 'DEFINE' into '#define'
|
||||
+ */
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
+DEFINE HOST_IOC_NONE _IOC_NONE
|
||||
+DEFINE HOST_IOC_READ _IOC_READ
|
||||
+DEFINE HOST_IOC_WRITE _IOC_WRITE
|
||||
+
|
||||
+DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
||||
+DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <linux/ioctl.h>
|
||||
+
|
||||
+#include "ioctl_iocdef.h"
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -283,6 +283,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -721,10 +722,19 @@
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
@@ -732,7 +742,7 @@
|
||||
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) ioctl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -978,6 +978,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -1377,7 +1378,7 @@
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) native_printer_decls.h \
|
||||
native_printer_defs.h printers.h sen.h sys_func.h .version \
|
||||
$(am__append_7) $(am__append_11)
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) octl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h \
|
||||
sys_func.h $(am__append_8) $(am__append_12)
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
@@ -5730,13 +5731,22 @@
|
||||
rm -f $<-t
|
||||
mv $@-t $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
4
packages/strace/4.13/chksum
vendored
4
packages/strace/4.13/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.13.tar.xz 4b78c7febdd24c79d5147824d1a080a3
|
||||
sha1 strace-4.13.tar.xz 7e1fc622e2b166cb74799a14c23d6bfde9ddbc3c
|
||||
sha256 strace-4.13.tar.xz d48f732576c91ece36a5843d63f9be054c40ef59f1e4773986042636861625d7
|
||||
sha512 strace-4.13.tar.xz 166d9b80ec093e049161ee5506a60c408d6f953d8fa04ba5dcb5105b0c9181282a2c28ff0a7acfa44880be44fd1dbde2319e895868a6edecd0121700a49dfdec
|
1
packages/strace/4.13/version.desc
vendored
1
packages/strace/4.13/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
148
packages/strace/4.14/0000-use-host-ioctl.patch
vendored
148
packages/strace/4.14/0000-use-host-ioctl.patch
vendored
@ -1,148 +0,0 @@
|
||||
---
|
||||
Makefile.am | 14 ++++++++++++--
|
||||
Makefile.in | 14 ++++++++++++--
|
||||
ioctl_iocdef.c | 43 +++++++++++++++++++++++++++++++++++++++++++
|
||||
ioctlsort.c | 3 ++-
|
||||
4 files changed, 69 insertions(+), 5 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/ioctl_iocdef.c
|
||||
@@ -0,0 +1,43 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
||||
+ * All rights reserved.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions
|
||||
+ * are met:
|
||||
+ * 1. Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * 2. Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * 3. The name of the author may not be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
||||
+ * is included into ioctlsort (which is compiled for build). Since some
|
||||
+ * of these values are used in structure initializers, they cannot be
|
||||
+ * defined as 'const unsigned int' - instead, they have to be macros.
|
||||
+ * Hence, the result of preprocessing will be run through sed to change
|
||||
+ * 'DEFINE' into '#define'
|
||||
+ */
|
||||
+#include <linux/ioctl.h>
|
||||
+
|
||||
+DEFINE HOST_IOC_NONE _IOC_NONE
|
||||
+DEFINE HOST_IOC_READ _IOC_READ
|
||||
+DEFINE HOST_IOC_WRITE _IOC_WRITE
|
||||
+
|
||||
+DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
||||
+DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|
||||
--- a/ioctlsort.c
|
||||
+++ b/ioctlsort.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <linux/ioctl.h>
|
||||
+
|
||||
+#include "ioctl_iocdef.h"
|
||||
|
||||
struct ioctlent {
|
||||
const char *info;
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -289,6 +289,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -739,10 +740,19 @@
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
||||
@@ -750,7 +760,7 @@
|
||||
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h .version
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) ioctl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h sys_func.h
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -995,6 +995,7 @@
|
||||
debian/watch \
|
||||
errnoent.sh \
|
||||
generate_sen.sh \
|
||||
+ ioctl_iocdef.c \
|
||||
ioctlsort.c \
|
||||
linux/32/ioctls_inc.h \
|
||||
linux/32/ioctls_inc_align32.h \
|
||||
@@ -1406,7 +1407,7 @@
|
||||
BUILT_SOURCES = $(ioctl_redefs_h) $(ioctlent_h) native_printer_decls.h \
|
||||
native_printer_defs.h printers.h sen.h sys_func.h .version \
|
||||
$(am__append_7) $(am__append_11)
|
||||
-CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) $(mpers_preproc_files) \
|
||||
+CLEANFILES = $(ioctl_redefs_h) $(ioctlent_h) octl_iocdef.h $(mpers_preproc_files) \
|
||||
native_printer_decls.h native_printer_defs.h printers.h sen.h \
|
||||
sys_func.h $(am__append_8) $(am__append_12)
|
||||
DISTCLEANFILES = gnu/stubs-32.h gnu/stubs-x32.h
|
||||
@@ -5896,13 +5897,22 @@
|
||||
rm -f $<-t
|
||||
mv $@-t $@
|
||||
|
||||
+# Need to pick up <linux/ioctl.h> definitions *for host* while compiling
|
||||
+# ioctlsort *for build*, hence this magic.
|
||||
+ioctl_iocdef.i: $(srcdir)/ioctl_iocdef.c
|
||||
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(strace_CPPFLAGS) $(CPPFLAGS) $< -o $@
|
||||
+
|
||||
+ioctl_iocdef.h: ioctl_iocdef.i
|
||||
+ sed -n 's/^DEFINE HOST/#define /p' $< > $@
|
||||
+
|
||||
ioctlent%.h: ioctlsort%
|
||||
./$< > $@
|
||||
|
||||
ioctlsort%$(BUILD_EXEEXT): ioctlsort%.o
|
||||
$(ioctlsort_CC) $(ioctlsort_CFLAGS) $(ioctlsort_LDFLAGS) $< -o $@
|
||||
|
||||
-ioctlsort%.o: ioctls_all%.h $(srcdir)/ioctlsort.c
|
||||
+ioctlsort%.o: ioctls_all%.h ioctl_iocdef.h $(srcdir)/ioctlsort.c
|
||||
$(ioctlsort_CC) $(ioctlsort_DEFS) $(ioctlsort_INCLUDES) $(ioctlsort_CPPFLAGS) $(ioctlsort_CFLAGS) -DIOCTLSORT_INC=\"$<\" -c -o $@ $(srcdir)/ioctlsort.c
|
||||
|
||||
ioctls_all%.h: $(srcdir)/$(OS)/$(ARCH)/ioctls_inc%.h $(srcdir)/$(OS)/$(ARCH)/ioctls_arch%.h
|
4
packages/strace/4.14/chksum
vendored
4
packages/strace/4.14/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.14.tar.xz 1e39b5f7583256d7dc21170b9da529ae
|
||||
sha1 strace-4.14.tar.xz fce60bd11cf5af30a562c27b26090dca1403bc24
|
||||
sha256 strace-4.14.tar.xz 5bed5110b243dce6864bedba269446c18c8c63f553cdd7fd4f808d89a764712f
|
||||
sha512 strace-4.14.tar.xz e0040a0a0f7bf8537c9dd4ca42f514be0caa40475673522cce7f02ca608b7c0fdf4653dad049c4a6323740579926061f90e8522b6378d4c57c2a7732197a0950
|
1
packages/strace/4.14/version.desc
vendored
1
packages/strace/4.14/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
4
packages/strace/4.5.20/chksum
vendored
4
packages/strace/4.5.20/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.5.20.tar.bz2 64dfe10d9db0c1e34030891695ffca4b
|
||||
sha1 strace-4.5.20.tar.bz2 3f5c8874610d7e3d13fc1c8b2e5fb5513468c45a
|
||||
sha256 strace-4.5.20.tar.bz2 ea8c059369eaa5ad90b246f34eab247d0ee48bfdee2670c7196320a4669ccabd
|
||||
sha512 strace-4.5.20.tar.bz2 b5adcbd00960580adf9441068d252216a40fcc4dca7888447f2de941b33e28bdd75058f3a7126eb487bc93f100b1f660d0fc5998885ca76929e5a0ce2069f2db
|
2
packages/strace/4.5.20/version.desc
vendored
2
packages/strace/4.5.20/version.desc
vendored
@ -1,2 +0,0 @@
|
||||
obsolete='yes'
|
||||
archive_formats='.tar.bz2'
|
4
packages/strace/4.6/chksum
vendored
4
packages/strace/4.6/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.6.tar.xz e537b2b1afeec70c0e6e27a0d0fd671e
|
||||
sha1 strace-4.6.tar.xz d84d6e215a65454aa5660e7b5c6200f6de39b89e
|
||||
sha256 strace-4.6.tar.xz 9ef9aa41b6118578e33ef4833b8a04209d6cc062546c28efd715f283b172c28a
|
||||
sha512 strace-4.6.tar.xz 09246a2b104b66f407d35d25407def13a49aaab1fefdb5c3693503d066f18c20b68057fdf7954feaff7281b37b2e503b43eba89b7977108d84cb51e16b57cb43
|
1
packages/strace/4.6/version.desc
vendored
1
packages/strace/4.6/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
4
packages/strace/4.7/chksum
vendored
4
packages/strace/4.7/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.7.tar.xz 6054c3880a00c6703f83b57f15e04642
|
||||
sha1 strace-4.7.tar.xz af917d27abf54b43fecf10373b320a2d42dfba4e
|
||||
sha256 strace-4.7.tar.xz c49cd98873c119c5f201356200a9b9687da1ceea83a05047e2ae0a7ac1e41195
|
||||
sha512 strace-4.7.tar.xz 52bcdd4b7a842b20233737197aeb5baf12533ea088568c9eeb644172420b98c79b86213c8068b49733da0a790031301b832489f87244bc65460971d1b0398d1e
|
1
packages/strace/4.7/version.desc
vendored
1
packages/strace/4.7/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -1,77 +0,0 @@
|
||||
Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
|
||||
Date: 2013-08-26
|
||||
Initial Package Version: 4.8
|
||||
Upstream Status: Unknown
|
||||
Origin: Unknown
|
||||
Description: Fixes compilation with glibc-2.18.
|
||||
From OpenSuse factory, found in strace-4.8-2.1.src.rpm by rpmfind.net.
|
||||
http://download.opensuse.org/factory/repo/src-oss/suse/strace-4.8-2.1.src.rpm
|
||||
Their changelog reports:
|
||||
* Wed Aug 14 2013 schwab@suse.de
|
||||
- strace-linux-ptrace-h.patch: handle conflict with struct
|
||||
ptrace_peeksiginfo_args between <sys/ptrace.h> and <linux/ptrace.h>
|
||||
|
||||
|
||||
---
|
||||
process.c | 2 ++
|
||||
signal.c | 2 ++
|
||||
syscall.c | 2 ++
|
||||
util.c | 2 ++
|
||||
4 files changed, 8 insertions(+)
|
||||
|
||||
--- a/process.c
|
||||
+++ b/process.c
|
||||
@@ -63,9 +63,11 @@
|
||||
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
|
||||
# define pt_all_user_regs XXX_pt_all_user_regs
|
||||
# endif
|
||||
+# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
|
||||
# include <linux/ptrace.h>
|
||||
# undef ia64_fpreg
|
||||
# undef pt_all_user_regs
|
||||
+# undef ptrace_peeksiginfo_args
|
||||
#endif
|
||||
|
||||
#if defined(SPARC64)
|
||||
--- a/signal.c
|
||||
+++ b/signal.c
|
||||
@@ -51,9 +51,11 @@
|
||||
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
|
||||
# define pt_all_user_regs XXX_pt_all_user_regs
|
||||
# endif
|
||||
+# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
|
||||
# include <linux/ptrace.h>
|
||||
# undef ia64_fpreg
|
||||
# undef pt_all_user_regs
|
||||
+# undef ptrace_peeksiginfo_args
|
||||
#endif
|
||||
|
||||
#ifdef IA64
|
||||
--- a/syscall.c
|
||||
+++ b/syscall.c
|
||||
@@ -48,9 +48,11 @@
|
||||
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
|
||||
# define pt_all_user_regs XXX_pt_all_user_regs
|
||||
# endif
|
||||
+# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
|
||||
# include <linux/ptrace.h>
|
||||
# undef ia64_fpreg
|
||||
# undef pt_all_user_regs
|
||||
+# undef ptrace_peeksiginfo_args
|
||||
#endif
|
||||
|
||||
#if defined(SPARC64)
|
||||
--- a/util.c
|
||||
+++ b/util.c
|
||||
@@ -55,9 +55,11 @@
|
||||
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
|
||||
# define pt_all_user_regs XXX_pt_all_user_regs
|
||||
# endif
|
||||
+# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
|
||||
# include <linux/ptrace.h>
|
||||
# undef ia64_fpreg
|
||||
# undef pt_all_user_regs
|
||||
+# undef ptrace_peeksiginfo_args
|
||||
#endif
|
||||
|
||||
int
|
4
packages/strace/4.8/chksum
vendored
4
packages/strace/4.8/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.8.tar.xz c575ef43829586801f514fd91bfe7575
|
||||
sha1 strace-4.8.tar.xz 88c19b900d9cb2931e6ea4cf36e0ae3838f2f698
|
||||
sha256 strace-4.8.tar.xz f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215e1d7f8
|
||||
sha512 strace-4.8.tar.xz c3316382f60cd4d02eec1eef46a0ef2d000afbccf2c176a6fec652e1b3391685f0e33f184497cb3ccf54d72d460471a4945d3a864fb5bce1f45f32fdf132cfe3
|
1
packages/strace/4.8/version.desc
vendored
1
packages/strace/4.8/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
4
packages/strace/4.9/chksum
vendored
4
packages/strace/4.9/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 strace-4.9.tar.xz 885eafadb10f6c60464a266d3929a2a4
|
||||
sha1 strace-4.9.tar.xz 5e6c78f0dc75e64814e5f8ef49c66823b7f00ae9
|
||||
sha256 strace-4.9.tar.xz 095bfea5c540b91d297ccac73b21b92fd54a24599fd70395db87ff9eb7fd6f65
|
||||
sha512 strace-4.9.tar.xz 70d03b74067ad03940cda72dc057a44a8a33fc55790a8a3bfffb1c4d7442c2de7f3e975a01dc7c7b0430342e492579b2f3a007242d13c8a0feba1a1989f42b7b
|
1
packages/strace/4.9/version.desc
vendored
1
packages/strace/4.9/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
Loading…
Reference in New Issue
Block a user