NetBSD Problem Report #59138
From www@netbsd.org Thu Mar 6 13:24:45 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D7ABF1A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 Mar 2025 13:24:44 +0000 (UTC)
Message-Id: <20250306132443.786161A923C@mollari.NetBSD.org>
Date: Thu, 6 Mar 2025 13:24:43 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: POSIX.1-2024: _Fork()
X-Send-Pr-Version: www-1.0
>Number: 59138
>Category: lib
>Synopsis: POSIX.1-2024: _Fork()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 13:25:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSD _Forkation
>Environment:
>Description:
POSIX.1-2024 has added a function _Fork() which is like fork() but doesn't run the pthread_atfork handlers:
> The _Fork() function shall be equivalent to fork(), except that fork handlers established by means of the pthread_atfork() function shall not be called and _Fork() shall be async-signal-safe.
https://pubs.opengroup.org/onlinepubs/9799919799/functions/fork.html
>How-To-Repeat:
standards inspection
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.