Module Name: src Committed By: dholland Date: Fri Jul 18 16:02:50 UTC 2014
Modified Files: src/lib/libc/sys: vfork.2 Log Message: Remove Users should not depend on the memory sharing semantics of vfork() as other ways of speeding up the fork process may be developed in the future. as we are not planning to deprecate vfork. Besides NetBSD's compatibility policy means we wouldn't change it anyway but introduce something new. Add Portable applications should not depend on the memory sharing semantics of vfork() as implementations exist that implement vfork() as plain fork(2). because this is or used to be a real hazard. ok christos To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/sys/vfork.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/vfork.2 diff -u src/lib/libc/sys/vfork.2:1.26 src/lib/libc/sys/vfork.2:1.27 --- src/lib/libc/sys/vfork.2:1.26 Fri Jul 18 15:58:51 2014 +++ src/lib/libc/sys/vfork.2 Fri Jul 18 16:02:50 2014 @@ -1,4 +1,4 @@ -.\" $NetBSD: vfork.2,v 1.26 2014/07/18 15:58:51 dholland Exp $ +.\" $NetBSD: vfork.2,v 1.27 2014/07/18 16:02:50 dholland Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -118,10 +118,13 @@ the address space. The original semantics were reintroduced in .Nx 1.4 . .Sh BUGS -Users should not depend on the memory sharing semantics of +Portable applications should not depend on the memory sharing +semantics of .Fn vfork -as other ways of speeding up the fork process may be developed in -the future. +as implementations exist that implement +.Fn vfork +as plain +.Xr fork 2 . .Pp To avoid a possible deadlock situation, processes that are children in the middle of a