Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2011 10:45:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r224212 - stable/8/lib/libc/sys
Message-ID:  <201107191045.p6JAjVAT067110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Jul 19 10:45:31 2011
New Revision: 224212
URL: http://svn.freebsd.org/changeset/base/224212

Log:
  MFC r223967:
  Document RFTSIGZMB.

Modified:
  stable/8/lib/libc/sys/rfork.2
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/sys/rfork.2
==============================================================================
--- stable/8/lib/libc/sys/rfork.2	Tue Jul 19 10:41:26 2011	(r224211)
+++ stable/8/lib/libc/sys/rfork.2	Tue Jul 19 10:45:31 2011	(r224212)
@@ -5,7 +5,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 14, 2007
+.Dd July 12, 2011
 .Dt RFORK 2
 .Os
 .Sh NAME
@@ -83,8 +83,18 @@ for information.
 .It Dv RFSIGSHARE
 If set, the kernel will force sharing the sigacts structure between the
 child and the parent.
+.It Dv RFTSIGZMB
+If set, the kernel will deliver a specified signal to the parent
+upon the child exit, instead of default SIGCHLD.
+The signal number
+.Dv signum
+is specified by oring the
+.Dv RFTSIGFLAGS(signum)
+expression into
+.Fa flags .
+Specifying signal number 0 disables signal delivery upon the child exit.
 .It Dv RFLINUXTHPN
-If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread
+If set, the kernel will deliver SIGUSR1 instead of SIGCHLD upon thread
 exit for the child.
 This is intended to mimic certain Linux clone behaviour.
 .El
@@ -163,6 +173,8 @@ would be exceeded (see
 Both the RFFDG and the RFCFDG flags were specified.
 .It Bq Er EINVAL
 Any flags not listed above were specified.
+.It Bq Er EINVAL
+An invalid signal number was specified.
 .It Bq Er ENOMEM
 There is insufficient swap space for the new process.
 .El



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107191045.p6JAjVAT067110>