From nobody Sat Nov 16 04:05:53 2024 X-Original-To: dev-commits-src-all@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 4Xr0g557Nqz5cldv; Sat, 16 Nov 2024 04:05:53 +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 4Xr0g53dMTz4SHP; Sat, 16 Nov 2024 04:05:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731729953; 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=Mm4UvbNQmdOvxLl7+iErqdXqwU3n5nI69i/Skts4rbY=; b=KTgQqhnKJcBA1FaGcNJfK9N763c/f9WkOzobz7drEzdqMh5wUlWCwPIi1Vg4/4jPMPe1yP L0VHQhTIFM1ijuUchPaZHmjpLx7eZBOg2Jk/gqn5RrEyYJJZmkEVmmyIHmosLE7yl/Gmtd eXf6jqvOOZp0fpJa+DOAvdIF35yUbZxItVfZTHHY5GC1rsUn7POybIoF3m0AlnxMAaYy/B i1on4VZiuR45tWr6rWZCxgFHWItORWlTkoLEBmpv7yTZ+4WJXY8NeJwWkS6x/yn36+32we iibcJsLlEdE88WdAl0Ff69+CXLlL4rJNERGa4dsuFNh5/BSQEwVTd0fDHkX1cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731729953; 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=Mm4UvbNQmdOvxLl7+iErqdXqwU3n5nI69i/Skts4rbY=; b=JFFrM1L9seY7fxwcc6+e44YcXu0g1zPMXZMw1LaLV1aJ9H0V8CV1yCXntl9NASyiTf67bv 273GUVcZSDsL2a6Fw7eAIAq0LdfSHTzWnFmSzL6dxUEA7DTqlRb7VnZh32nV+VJK2BTdj3 83Z9ZEV3JyPVf5t/+6OOyJLfkNDG2+nMbWWe49B4jQGkxqawgScm9kuc3ubuu48ZaqZ7Ld UjIzA+qFKnSvz8o1QwERiuMt30xEk/s8vQKxu7JC4J3K0nU8/1NtN1mQjMZsi2TLhHKrn4 cQUg3E8Kp5EAgeOlpuoPbJKmzs1N6tnOG7FgvvoUdajVIM0pwbgbbzNIntTH+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731729953; a=rsa-sha256; cv=none; b=xA3q6kKh9uwVZ5qOGpQ35wHwFjCFrA0EB0cDbiYjctdV8yTOvB9wpdt08vgmaM93FiEjUt 7g4D71AecDtyMAccH11NVwJ3H7J/TFQghgeO+Eoq2lhSY5RegMtvYTnQOLwv8E9SX9Q+kW VB59+qfGfqS2FWCRKxZ84Nvwt15CZloZy3B7PH8zpPtSwnx3EsEzi3pbRZu/MiZ4PLxamw 1A8O5k231ik2sxpjIgSqzrpJ254KPURC5OD3tAFLG/Icr2dE2hROBeP/fv5Ihny/Uw2GYS 93+fOUqcVEA2bHmqplPGwoo8qcMsbyePonbZkVgucvqRiSslCUgoY0RRAHrHHA== 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 4Xr0g53FsmzrdY; Sat, 16 Nov 2024 04:05:53 +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 4AG45rZa048933; Sat, 16 Nov 2024 04:05:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AG45rjv048930; Sat, 16 Nov 2024 04:05:53 GMT (envelope-from git) Date: Sat, 16 Nov 2024 04:05:53 GMT Message-Id: <202411160405.4AG45rjv048930@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 566c039d1e75 - main - fork: Document _Fork (and fork) as POSIX 2024 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 566c039d1e7555343fcf6439a10e56f5a632c0fe Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=566c039d1e7555343fcf6439a10e56f5a632c0fe commit 566c039d1e7555343fcf6439a10e56f5a632c0fe Author: Ed Maste AuthorDate: 2024-11-15 14:22:54 +0000 Commit: Ed Maste CommitDate: 2024-11-16 04:05:40 +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 --- lib/libsys/fork.2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/libsys/fork.2 b/lib/libsys/fork.2 index 32dbc7a39711..7d548a42890d 100644 --- a/lib/libsys/fork.2 +++ b/lib/libsys/fork.2 @@ -250,18 +250,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