Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Document CLONE_VFORK and note that we also do n...



details:   https://anonhg.NetBSD.org/src/rev/3ba38a2a39fa
branches:  trunk
changeset: 512826:3ba38a2a39fa
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 17 21:16:52 2001 +0000

description:
Document CLONE_VFORK and note that we also do not implement CLONE_PTRACE.

diffstat:

 lib/libc/sys/clone.2 |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r c82225317c04 -r 3ba38a2a39fa lib/libc/sys/clone.2
--- a/lib/libc/sys/clone.2      Tue Jul 17 20:54:58 2001 +0000
+++ b/lib/libc/sys/clone.2      Tue Jul 17 21:16:52 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: clone.2,v 1.1 2001/07/17 03:05:31 thorpej Exp $
+.\"    $NetBSD: clone.2,v 1.2 2001/07/17 21:16:52 thorpej Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -102,6 +102,10 @@
 is never shared between the parent and the child, even if
 .Dv CLONE_SIGHAND
 is set.
+.It Dv CLONE_VFORK
+Preserve the synchronization semanics of
+.Xr vfork 2 ;
+the parent blocks until the child exits.
 .El
 .Pp
 The 
@@ -149,11 +153,19 @@
 .Sh BUGS
 The
 .Nx
-implentation of
+implementation of
 .Nm
 does not implement the
 .Dv CLONE_PID
 option that is present in the Linux implementation.
+.Pp
+The
+.Nx
+implementation of
+.Nm
+does not implement the
+.Dv CLONE_PTRACE
+option that is present in the Linux implementation.
 .Sh HISTORY
 The
 .Fn clone



Home | Main Index | Thread Index | Old Index