From nobody Thu Nov 21 00:46:47 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xv0135bv4z5dyK7; Thu, 21 Nov 2024 00:46:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xv0134dCKz4K42; Thu, 21 Nov 2024 00:46:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732150007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lAZPKPbeMNl4RD03u6qbJYsbSzrajZTIZpiG+ieq/iQ=; b=r5lW3+iZdm6bR7O+Xy7MtrBSeTkyZktGz9+ebbPN3n/YVlVit6SqErVMrGpq/3RmPkuo5N qRG+YUp+4Es6Jda62vL6HwILyuUBKMJ9KwvnNTwSIZyyc7NCe/juoi0d+CYa+yqLXJ1b0B 637U4KaLQDUJeSx7sdIj/ruvQ/3FqIwZ1RJK04ygf5bVfnTcUs7H0GPir7mcO0G3UubDjU Cb1yaiTz/EipZeSsjWaRnCKaubKqmYNMbN83jzwVgFagLJmUH/+imLgxR0H/LNi8z9znzO wU+obyu+NBoM0knIeEx+BPk+58Uha428KLfqDyXi0H2WBpa2jBeEib+de5qYhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732150007; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lAZPKPbeMNl4RD03u6qbJYsbSzrajZTIZpiG+ieq/iQ=; b=glX291c6Is7kwqBoxscx584slVcE7RG3ubNduScsWewN9d6lGc2niKdL8gvaqKJM5f2ITo /PRz4JmMBEQrVMU1jgahlwwVcrIAjz/vmEWE58qdUF64J4gzNKAdmMDP17qJhn7fuqVSS3 ZsveGFcmPV6Mit0oYUdB2uGXOZ/8NwilmuxtOLwC1BbcmDM6ImVdgEWNBQOMcKo4hrTj0G XarAkQBgHRcOAJ6IYW2fifNZEr3Qnc/kTv6i+RwvpURx0Ts6vvTICXpjWdi2mx9gS8E6RC ZBZY5F1WTVuivJx86ppKU7CIWTk+xreNEtouFqVi+vmEmv8+II9hzkPi0zKC3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732150007; a=rsa-sha256; cv=none; b=UdF0MpnYCGwiFpH01Jf1a6F7I1YHRJ+OIfcVRlz6aRgCM2+HgRJ00NIYjK+q9XWmpS3dHi 76FxS89IZ51xIZgph2iUR8iIXN4DLXzW3E+uDMDG/cHy9Q7FMD5P0E69PO+gVF12YrySPZ 9eudNLKlA79Cy54DJTKnIqproeCmVV22XbmyytU/iNkHpTgFMEUbB5YzJ+ir+Iewms8nmu vg07Ku6JlGNGGVJJA06NvBH7BCb2iRnnT1Dvh82ecn3OxHPoCAkRsc8iDU7mNnHXVA+Tah twjXRpTaEoreAVv0EyKTb43+hOYHv3hu/ZveskikWpwqfLLf5t4yUO8IUNFLng== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xv0134DTWzHDS; Thu, 21 Nov 2024 00:46:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AL0klhU061882; Thu, 21 Nov 2024 00:46:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AL0klci061879; Thu, 21 Nov 2024 00:46:47 GMT (envelope-from git) Date: Thu, 21 Nov 2024 00:46:47 GMT Message-Id: <202411210046.4AL0klci061879@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 2e8ab3d4e9b9 - stable/14 - fork: Document _Fork (and fork) as POSIX 2024 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 2e8ab3d4e9b98e648c086aee3685f1b5ba433d90 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2e8ab3d4e9b98e648c086aee3685f1b5ba433d90 commit 2e8ab3d4e9b98e648c086aee3685f1b5ba433d90 Author: Ed Maste AuthorDate: 2024-11-15 14:22:54 +0000 Commit: Ed Maste CommitDate: 2024-11-21 00:45:07 +0000 fork: Document _Fork (and fork) as POSIX 2024 Also remove some information from HISTORY that is no longer needed (and could be confusing), now that _Fork is part of a standard. Reported by: kib Reviewed by: imp, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47588 (cherry picked from commit 566c039d1e7555343fcf6439a10e56f5a632c0fe) --- lib/libc/sys/fork.2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2 index a3af078b3d69..dcc3d4d017c1 100644 --- a/lib/libc/sys/fork.2 +++ b/lib/libc/sys/fork.2 @@ -252,18 +252,18 @@ There is insufficient swap space for the new process. .Xr vfork 2 , .Xr wait 2 , .Xr pthread_atfork 3 +.Sh STANDARDS +The +.Fn fork +and +.Fn _Fork +functions conform to +.St -p1003.1-2024 . .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