2003-02-19 Roland McGrath <roland@redhat.com>
FreeBSD rfork support changes from Russ Cox <rsc@plan9.bell-labs.com>:
* syscall.c (internal_syscall): Handle SYS_rfork with internal_fork.
* process.c (internal_fork) [SYS_rfork]: Bail if RFPROC flag not set.
diff --git a/syscall.c b/syscall.c
index 5b04dc9..bb11869 100644
--- a/syscall.c
+++ b/syscall.c
@@ -622,6 +622,9 @@
#ifdef SYS_rforkall
case SYS_rforkall:
#endif
+#ifdef SYS_rfork
+ case SYS_rfork:
+#endif
internal_fork(tcp);
break;
#ifdef SYS_clone