From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/strace
Date: Sat, 20 Jan 2007 04:57:06 -0800 (PST) [thread overview]
Message-ID: <20070120125706.206FD48590@busybox.net> (raw)
Author: aldot
Date: 2007-01-20 04:57:04 -0800 (Sat, 20 Jan 2007)
New Revision: 17395
Log:
- add fix for ARM fake syscall from execve. Closes #626
Added:
trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch
Changeset:
Added: trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch
===================================================================
--- trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch (rev 0)
+++ trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch 2007-01-20 12:57:04 UTC (rev 17395)
@@ -0,0 +1,18 @@
+--- strace-4.5.12-orig/syscall.c 2005-06-08 21:45:28.000000000 +0100
++++ strace-4.5.12/syscall.c 2005-10-25 19:26:39.000000000 +0100
+@@ -1013,6 +1013,15 @@ struct tcb *tcp;
+ /*
+ * Note: we only deal with only 32-bit CPUs here.
+ */
++
++ if (!(tcp->flags & TCB_INSYSCALL) &&
++ (tcp->flags & TCB_WAITEXECVE)) {
++ /* caught a fake syscall from the execve's exit */
++ tcp->flags &= ~TCB_WAITEXECVE;
++ return 0;
++ }
++
++
+ if (regs.ARM_cpsr & 0x20) {
+ /*
+ * Get the Thumb-mode system call number
next reply other threads:[~2007-01-20 12:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-20 12:57 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-08 9:24 [Buildroot] svn commit: trunk/buildroot/package/strace egtvedt at uclibc.org
2008-12-22 22:10 jacmet at uclibc.org
2008-12-01 13:49 egtvedt at uclibc.org
2008-10-20 9:04 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:06 jacmet at uclibc.org
2008-04-24 9:03 jacmet at uclibc.org
2008-03-24 19:29 nkukard at uclibc.org
2007-11-03 7:23 ulf at uclibc.org
2007-07-24 17:59 aldot at uclibc.org
2007-07-24 17:56 ` Yann E. MORIN
2007-07-23 10:26 ulf at uclibc.org
2007-02-07 2:51 sjhill at uclibc.org
2007-02-06 18:12 sjhill at uclibc.org
2007-02-04 18:21 aldot at uclibc.org
2007-01-29 17:02 aldot at uclibc.org
2006-11-17 11:52 aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070120125706.206FD48590@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox