git: 1c54a109d71e - stable/13 - Add _Fork()

Jessica Clarke jrtc27 at freebsd.org
Fri Sep 10 00:24:35 UTC 2021


On 12 Aug 2021, at 13:39, Konstantin Belousov <kib at FreeBSD.org> wrote:
> 
> The branch stable/13 has been updated by kib:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=1c54a109d71ee768929e96fecbda27e44a173aa7
> 
> commit 1c54a109d71ee768929e96fecbda27e44a173aa7
> Author:     Konstantin Belousov <kib at FreeBSD.org>
> AuthorDate: 2021-08-02 09:50:32 +0000
> Commit:     Konstantin Belousov <kib at FreeBSD.org>
> CommitDate: 2021-08-12 12:37:54 +0000
> 
>    Add _Fork()
> 
>    (cherry picked from commit 49ad342cc10cba14b3a40ba26cf8bb2150e2925a)
> ---
> ...
> @@ -176,9 +234,21 @@ There is insufficient swap space for the new process.
> .Xr setrlimit 2 ,
> .Xr sigaction 2 ,
> .Xr vfork 2 ,
> -.Xr wait 2
> +.Xr wait 2 ,
> +.Xr pthread_atfork 3
> .Sh HISTORY
> The
> .Fn fork
> function appeared in
> .At v1 .
> +.Pp
> +The
> +.Fn _Fork
> +function was defined by Austin Group together with the removal
> +of a requirement that the
> +.Fn fork
> +implementation must be async-signal safe.
> +The
> +.Fn _Fork
> +function appeared in
> +.Fx 14.0 .

In fixing the case-insensitive build I noticed that, since you MFC’ed
this, this is inaccurate, and presumably should be 13.1 on both
stable/13 and main?

Jess



More information about the dev-commits-src-all mailing list