From nobody Fri Jun 14 22:40:08 2024 X-Original-To: dev-commits-src-main@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 4W1DkK1bBYz5PdlJ; Fri, 14 Jun 2024 22:40:09 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W1DkK0pYmz4hNZ; Fri, 14 Jun 2024 22:40:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718404809; 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=TGuonx+cfEnukKpvBIDttjErOh2TfLm+4ckQdW+fNkU=; b=jSCME/P8Aei96U7zBT+UfWOtFRdGp/9VEleQk1llEQbPOTYDPO++hGwRji79ok6W4j66hZ LFkFhjXhsfDgckSnI9Lztlz99FZSog1CTnrJGMMKtoEdrxlKwpvp7jjn1K8BCxJG7+Ci9w alMk+x6J76HZE7NGwaWcg9pdyMQWxQmF71yD6Mdp/EVow4IqVhNJG2Zg7K8HOJif8svbmD GVMpqQUyNEezZlneOlfQq+BIPpmJF6oc+VMv9u7F7QF9I2JDCCt3HJ4btj2BV0fZbzUQCH O8JeqOJwhff1ZEYoMArVkSkKlVsIcBH1MdJhiNi5e4qU0pZO+hcfp0s0J+gQPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718404809; a=rsa-sha256; cv=none; b=KB6ebginIs0nXhh0y1Jp4SB7jCukqoJVY3Jiv00L6YeOLTbhDRyoRKrdOR4K8mY2VGexBT bNVlEXs2lJFqAzuxVPPFVduP7Urxsj0BvtsoxrR4Zu2ZxQI1uRVSTGZtb5VY5jJyHMd3jL mjiKB7FIjfh0Ja+MBouOvIV/IgL2kM3RgOw+7B4dLXkYiDqjbTPY8MpIZ9FySeVUqMVGnf 4vUSo3Gg73edvo52Qw/6x4Fl0gXnoh/IaDdpsFDXjDzT/K/4JKr1oNdeJMTFhP+T/urSVj qRKcpVL8+Ed/eIEteXY7QWMOVqIgXSWSOg1suaGklDKTjFsNyUooVp2+zxItyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718404809; 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=TGuonx+cfEnukKpvBIDttjErOh2TfLm+4ckQdW+fNkU=; b=wI+W4tO3zVbsxw/8jSeVoV1r696FZQ00rROsGdqNtuY/umjMNK+aC7myYD9VV/ixRwPCVU e0TARMWRziqGXicKll5RkKgoTmIcMicRoe6/e2mE7sXztZMd790uxeMhwT96WzlRpdWwyz IgvQ2Iepv8gTt6JFwIxng3KbsNpP+uyMJt1gYq7JL21X04OYH3ZXjMbXRNvkbZuCWpA3Nk rLCriDPVyotsku5SH/MZyxtQnW2vhCryMQ2kaWBoFs0NFVrhdusjFUOlsLM8V7BHju9+LN QhHlh7dmiFH56VeasLhBUp0e/MDwO4j6E9d5ogaGg0Drx9Ee0XdUZziFOg0rVA== 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 4W1DkK0GmJzfJr; Fri, 14 Jun 2024 22:40:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45EMe8EO013128; Fri, 14 Jun 2024 22:40:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45EMe8UL013118; Fri, 14 Jun 2024 22:40:08 GMT (envelope-from git) Date: Fri, 14 Jun 2024 22:40:08 GMT Message-Id: <202406142240.45EMe8UL013118@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 5198178f3eb6 - main - cdefs.h: Add POSIX.1-2024 values List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5198178f3eb6f9d1eae68adf00ac4aef62b2bb1d Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5198178f3eb6f9d1eae68adf00ac4aef62b2bb1d commit 5198178f3eb6f9d1eae68adf00ac4aef62b2bb1d Author: Warner Losh AuthorDate: 2024-06-14 21:06:53 +0000 Commit: Warner Losh CommitDate: 2024-06-14 22:38:55 +0000 cdefs.h: Add POSIX.1-2024 values Sponsored by: Netflix --- sys/sys/cdefs.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index c3268791787f..476c89d1dddb 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -639,10 +639,13 @@ * and the omnibus ISO/IEC 9945-1: 1996 * (1003.1 Issue 5, Single Unix Spec v2, Unix 95) * _POSIX_C_SOURCE == 200112 1003.1-2001 (1003.1 Issue 6, Unix 03) + * with _XOPEN_SOURCE=600 * _POSIX_C_SOURCE == 200809 1003.1-2008 (1003.1 Issue 7) * IEEE Std 1003.1-2017 (Rev of 1003.1-2008) is - * 1003.1-2008 with two TCs applied with - * _POSIX_C_SOURCE=200809 and _XOPEN_SOURCE=700 + * 1003.1-2008 with two TCs applied and + * _XOPEN_SOURCE=700 + * _POSIX_C_SOURCE == 202405 1003.1-2004 (1003.1 Issue 8), IEEE Std 1003.1-2024 + * with _XOPEN_SOURCE=800 * * In addition, the X/Open Portability Guide, which is now the Single UNIX * Specification, defines a feature-test macro which indicates the version of