From: Julian Seward Date: Sat, 24 Aug 2002 09:19:33 +0000 (+0000) Subject: Give a binding for vfork() -- just behave like fork(). I hope this X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cb59fd86d43738d79bb8f09afc215654dc40dd1;p=thirdparty%2Fvalgrind.git Give a binding for vfork() -- just behave like fork(). I hope this is OK. git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@628 --- diff --git a/vg_libpthread.c b/vg_libpthread.c index 1a93ef17ca..6da71873c8 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c @@ -1883,6 +1883,10 @@ pid_t __fork(void) } +pid_t __vfork(void) +{ + return __fork(); +} /* --------------------------------------------------------------------- @@ -2816,6 +2820,7 @@ strong_alias(send, __send) weak_alias (__pread64, pread64) weak_alias (__pwrite64, pwrite64) weak_alias(__fork, fork) +weak_alias(__vfork, vfork) weak_alias (__pthread_kill_other_threads_np, pthread_kill_other_threads_np)