summaryrefslogtreecommitdiffstats
path: root/lib/libc/alpha/sys
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1998-09-12 22:03:20 +0000
committerdt <dt@FreeBSD.org>1998-09-12 22:03:20 +0000
commit613a2bdfdecf9393b99b2c5db227a51a940e746b (patch)
tree3f061a428b7f6ca96bf141b620aae2439a24bfab /lib/libc/alpha/sys
parent9aee196299648c93b416ff7774bda3da6934d78d (diff)
downloadFreeBSD-src-613a2bdfdecf9393b99b2c5db227a51a940e746b.zip
FreeBSD-src-613a2bdfdecf9393b99b2c5db227a51a940e746b.tar.gz
In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an alias
to fork. It is difficult to do real vfork in libc_r, since almost every operation with file descriptsor changes _thread_fd_table and friends. popen(3) works much better with this change.
Diffstat (limited to 'lib/libc/alpha/sys')
-rw-r--r--lib/libc/alpha/sys/Ovfork.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/alpha/sys/Ovfork.S b/lib/libc/alpha/sys/Ovfork.S
index aaec3bf..d8dd3e8 100644
--- a/lib/libc/alpha/sys/Ovfork.S
+++ b/lib/libc/alpha/sys/Ovfork.S
@@ -29,7 +29,7 @@
#include "SYS.h"
-SYSCALL(vfork)
+PSYSCALL(vfork)
cmovne a4, zero, v0 /* a4 (rv[1]) != 0, child */
RET
-END(vfork)
+PEND(vfork)
OpenPOWER on IntegriCloud