Module Name: src Committed By: jruoho Date: Tue May 4 06:13:43 UTC 2010
Modified Files: src/lib/libc/sys: clone.2 Log Message: Update the -- now quite big -- list of unsupported Linux options. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/sys/clone.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/clone.2 diff -u src/lib/libc/sys/clone.2:1.11 src/lib/libc/sys/clone.2:1.12 --- src/lib/libc/sys/clone.2:1.11 Wed Apr 30 13:10:51 2008 +++ src/lib/libc/sys/clone.2 Tue May 4 06:13:43 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: clone.2,v 1.11 2008/04/30 13:10:51 martin Exp $ +.\" $NetBSD: clone.2,v 1.12 2010/05/04 06:13:43 jruoho Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd July 16, 2001 +.Dd May 4, 2010 .Dt CLONE 2 .Os .Sh NAME @@ -80,7 +80,7 @@ exits. The following flags may also be specified by bitwise-or'ing them with the signal value: -.Bl -tag -width "CLONE_SIGHAND" +.Bl -tag -width "CLONE_SIGHAND" -offset 2n .It Dv CLONE_VM Share the virtual address space with the parent. The address space is shared in the same way as @@ -155,20 +155,50 @@ .Fn clone function call appeared in .Nx 1.6 . -It is compatible with the Linux function call of the same name. +It is compatible with the Linux function call of the same name +with respect to the described options. .Sh BUGS The .Nx implementation of -.Nm -does not implement the -.Dv CLONE_PID -option that is present in the Linux implementation. +.Fn clone +does not implement the following +.Ar flags +that are present in the Linux implementation: .Pp -The -.Nx -implementation of -.Nm -does not implement the +.Bl -bullet -offset indent -compact +.It +.Dv CLONE_CHILD_CLEARTID +.It +.Dv CLONE_CHILD_SETTID +.It +.Dv CLONE_IO +.It +.Dv CLONE_NEWIPC +.It +.Dv CLONE_NEWNET +.It +.Dv CLONE_NEWNS +.It +.Dv CLONE_NEWPID +.It +.Dv CLONE_NEWUTS +.It +.Dv CLONE_PARENT +.It +.Dv CLONE_PARENT_SETTID +.It +.Dv CLONE_PID +.It .Dv CLONE_PTRACE -option that is present in the Linux implementation. +.It +.Dv CLONE_SETTLS +.It +.Dv CLONE_STOPPED +.It +.Dv CLONE_SYSVSEM +.It +.Dv CLONE_THREAD +.It +.Dv CLONE_UNTRACED +.El