summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McCabe <randy@gentoo.org>2004-04-18 15:01:10 +0000
committerMichael McCabe <randy@gentoo.org>2004-04-18 15:01:10 +0000
commitc2623e855ef616993929d23142b377194d267da8 (patch)
treec7d18bb5a31bf9bbd4bc1d66759144fec57304aa /dev-util/strace/files
parentCloses #47661 (Manifest recommit) (diff)
downloadgentoo-2-c2623e855ef616993929d23142b377194d267da8.tar.gz
gentoo-2-c2623e855ef616993929d23142b377194d267da8.tar.bz2
gentoo-2-c2623e855ef616993929d23142b377194d267da8.zip
added s390 specific fix to close #47916 and added s390 keyword
Diffstat (limited to 'dev-util/strace/files')
-rw-r--r--dev-util/strace/files/digest-strace-4.4.98-r11
-rw-r--r--dev-util/strace/files/strace-get_scno.patch21
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/strace/files/digest-strace-4.4.98-r1 b/dev-util/strace/files/digest-strace-4.4.98-r1
new file mode 100644
index 000000000000..62df5ce787fc
--- /dev/null
+++ b/dev-util/strace/files/digest-strace-4.4.98-r1
@@ -0,0 +1 @@
+MD5 9181e3871c0bf64052bcda51da2928a5 strace-4.4.98.tar.bz2 375679
diff --git a/dev-util/strace/files/strace-get_scno.patch b/dev-util/strace/files/strace-get_scno.patch
new file mode 100644
index 000000000000..4ac29c42e798
--- /dev/null
+++ b/dev-util/strace/files/strace-get_scno.patch
@@ -0,0 +1,21 @@
+--- strace/syscall.c.orig 2003-09-10 21:02:20.000000000 +0200
++++ strace/syscall.c 2003-09-10 21:04:29.000000000 +0200
+@@ -735,6 +735,8 @@
+ int pid = tcp->pid;
+ #endif /* !PROCFS */
+
++ if (tcp->flags & TCB_INSYSCALL)
++ return 1;
+ #ifdef LINUX
+ #if defined(S390) || defined(S390X)
+ if (tcp->flags & TCB_WAITEXECVE) {
+@@ -1197,8 +1199,7 @@
+ #endif /* FREEBSD */
+ #endif /* !HAVE_PR_SYSCALL */
+ #endif /* USE_PROCFS */
+- if (!(tcp->flags & TCB_INSYSCALL))
+- tcp->scno = scno;
++ tcp->scno = scno;
+ return 1;
+ }
+