about summary refs log tree commit diff
path: root/src/process/i386/vfork.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 15:26:51 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:37 -0400
commitced75472d7e3d73d5b057e36ccbc7b7fcba95104 (patch)
tree24365904fae978a92f48fcb93977eedb900aa419 /src/process/i386/vfork.s
parent6d47488e8616dfc24e58aeb56db520ac7c80421e (diff)
downloadmusl-ced75472d7e3d73d5b057e36ccbc7b7fcba95104.tar.gz
musl-ced75472d7e3d73d5b057e36ccbc7b7fcba95104.tar.xz
musl-ced75472d7e3d73d5b057e36ccbc7b7fcba95104.zip
remove __vfork alias
this was added so that posix_spawn and possibly other functionality
could be implemented in terms of vfork, but that turned out to be
unsafe. any such usage needs __clone with proper handling of stack
lifetime.
Diffstat (limited to 'src/process/i386/vfork.s')
-rw-r--r--src/process/i386/vfork.s5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/process/i386/vfork.s b/src/process/i386/vfork.s
index a3d76ae6..3d0e6d6b 100644
--- a/src/process/i386/vfork.s
+++ b/src/process/i386/vfork.s
@@ -1,8 +1,5 @@
-.global __vfork
-.weak vfork
-.type __vfork,@function
+.global vfork
 .type vfork,@function
-__vfork:
 vfork:
 	pop %edx
 	mov $190,%eax