[PATCH] Improve LinuxThreads compatibility in rfork()

Petr Salinger Petr.Salinger at seznam.cz
Tue Jul 12 09:07:45 UTC 2011


>> Seems this interface be acceptable ?
>
> Looks good to me.

The proposed code changes are in the attached patch.

Proposed wording of addition into RFORK(2):

DESCRIPTION:

RFTSIGZMB  	If set, the kernel will return selected signal number instead
                 of SIGCHILD upon thread exit for the child.
                 The selected signal number have to be encoded into flags
                 by ORing RFTSIGFLAGS(signum).

ERRORS:

EINVAL          An invalid signal was specified.


Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006_lt-rf.diff
Type: text/x-diff
Size: 1309 bytes
Desc: 
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110712/f8a1cf8d/006_lt-rf.bin


More information about the freebsd-current mailing list