[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):


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).


EINVAL          An invalid signal was specified.

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

More information about the freebsd-hackers mailing list