Don't mask libc's vfork / __vfork:

$ nm /lib/libc-2.2.4.so | grep vfork
   000b4220 T __vfork
   000b4220 W vfork

There's no __libc_vfork, so there's nothing we can do here.
Just don't supply our own version.

Not at all sure if this is correct.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@303
This commit is contained in:
Julian Seward 2002-05-21 00:51:21 +00:00
parent 8aae7441fe
commit 8d2d128371
6 changed files with 9 additions and 9 deletions

View File

@ -1730,7 +1730,7 @@ strong_alias(send, __send)
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
//weak_alias(__vfork, vfork)
/*--------------------------------------------------*/

View File

@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void ) { unimp("__libc_current_sigrtmin"); }
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
void __vfork ( void ) { unimp("__vfork"); }
//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }

View File

@ -1730,7 +1730,7 @@ strong_alias(send, __send)
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
//weak_alias(__vfork, vfork)
/*--------------------------------------------------*/

View File

@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void ) { unimp("__libc_current_sigrtmin"); }
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
void __vfork ( void ) { unimp("__vfork"); }
//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }

View File

@ -1730,7 +1730,7 @@ strong_alias(send, __send)
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
//weak_alias(__vfork, vfork)
/*--------------------------------------------------*/

View File

@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void ) { unimp("__libc_current_sigrtmin"); }
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
void __vfork ( void ) { unimp("__vfork"); }
//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }