Module Name: src
Committed By: christos
Date: Fri Apr 21 15:04:10 UTC 2017
Modified Files:
src/lib/libc/sys: _lwp_create.2
Log Message:
Mention that the signal stack of the newly created lwp is reset to disabled.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/sys/_lwp_create.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/_lwp_create.2
diff -u src/lib/libc/sys/_lwp_create.2:1.5 src/lib/libc/sys/_lwp_create.2:1.6
--- src/lib/libc/sys/_lwp_create.2:1.5 Mon May 21 10:15:16 2012
+++ src/lib/libc/sys/_lwp_create.2 Fri Apr 21 11:04:10 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: _lwp_create.2,v 1.5 2012/05/21 14:15:16 martin Exp $
+.\" $NetBSD: _lwp_create.2,v 1.6 2017/04/21 15:04:10 christos Exp $
.\"
.\" Copyright (c) 2003 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 January 13, 2003
+.Dd April 21, 2017
.Dt _LWP_CREATE 2
.Os
.Sh NAME
@@ -47,6 +47,8 @@ The
.Fa context
argument specifies the initial execution context for the new LWP including
signal mask, stack, and machine registers.
+The signal stack of the newly created light-weight process is reset to
+disabled.
If this context specifies invalid register values (for example priviledge
escalation by setting machine dependend bits forbidden for user processes),
or does not specify cpu register values (uc_flags does not have the