aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/sys/linux/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/process.c b/newlib/libc/sys/linux/process.c
index 8ae58b0..52336f3 100644
--- a/newlib/libc/sys/linux/process.c
+++ b/newlib/libc/sys/linux/process.c
@@ -21,6 +21,9 @@ _syscall0(pid_t,setsid)
weak_alias(__libc_getpid,__getpid);
+/* Here we implement vfork in terms of fork, since
+ * Linux's vfork system call is not reliable.
+ */
pid_t vfork(void)
{
pid_t pid;