|
From: <sv...@va...> - 2012-08-20 10:40:10
|
sewardj 2012-08-20 11:40:02 +0100 (Mon, 20 Aug 2012)
New Revision: 12883
Log:
Fix POST(posix_spawn) on Darwin so it marks the returned pid as defined.
Modified files:
trunk/coregrind/m_syswrap/syswrap-darwin.c
Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c (+3 -1)
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c 2012-08-20 10:27:15 +01:00 (rev 12882)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c 2012-08-20 11:40:02 +01:00 (rev 12883)
@@ -2955,7 +2955,9 @@
POST(posix_spawn)
{
vg_assert(SUCCESS);
- //POST_MEM_WRITE( ARG1, sizeof(vki_pid_t) );
+ if (ARG1 != 0) {
+ POST_MEM_WRITE( ARG1, sizeof(vki_pid_t) );
+ }
}
|
|
From: Lionel C. <lio...@go...> - 2012-08-20 12:06:15
|
On 20 August 2012 12:40, <sv...@va...> wrote: > sewardj 2012-08-20 11:40:02 +0100 (Mon, 20 Aug 2012) > > New Revision: 12883 > > Log: > Fix POST(posix_spawn) on Darwin so it marks the returned pid as defined. Is posix_spawn() a system call on Darwin? Lionel |
|
From: Julian S. <js...@ac...> - 2012-08-20 12:37:38
|
On Monday, August 20, 2012, Lionel Cons wrote: > On 20 August 2012 12:40, <sv...@va...> wrote: > > sewardj 2012-08-20 11:40:02 +0100 (Mon, 20 Aug 2012) > > > > New Revision: 12883 > > > > Log: > > Fix POST(posix_spawn) on Darwin so it marks the returned pid as > > defined. > > Is posix_spawn() a system call on Darwin? Yes it is. J |
|
From: Lionel C. <lio...@go...> - 2012-08-20 12:51:49
|
On 20 August 2012 14:25, Julian Seward <js...@ac...> wrote: > On Monday, August 20, 2012, Lionel Cons wrote: >> On 20 August 2012 12:40, <sv...@va...> wrote: >> > sewardj 2012-08-20 11:40:02 +0100 (Mon, 20 Aug 2012) >> > >> > New Revision: 12883 >> > >> > Log: >> > Fix POST(posix_spawn) on Darwin so it marks the returned pid as >> > defined. >> >> Is posix_spawn() a system call on Darwin? > > Yes it is. Where can I find the source of the kernel and libc implementation? Lionel |
|
From: Julian S. <js...@ac...> - 2012-08-23 18:22:57
|
On Monday, August 20, 2012, Lionel Cons wrote: > On 20 August 2012 14:25, Julian Seward <js...@ac...> wrote: > > On Monday, August 20, 2012, Lionel Cons wrote: > >> On 20 August 2012 12:40, <sv...@va...> wrote: > >> > sewardj 2012-08-20 11:40:02 +0100 (Mon, 20 Aug 2012) > >> > > >> > New Revision: 12883 > >> > > >> > Log: > >> > Fix POST(posix_spawn) on Darwin so it marks the returned pid as > >> > defined. > >> > >> Is posix_spawn() a system call on Darwin? > > > > Yes it is. > > Where can I find the source of the kernel and libc implementation? http://www.opensource.apple.com/ Note that the kernel is called 'xnu' and so you need the 'xnu' and 'Libc' tarballs. J |