From nobody Tue Jan 07 09:12:55 2025 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 4YS56V1W5vz5kDn0 for ; Tue, 07 Jan 2025 09:17:22 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YS56S5YgGz4wrP for ; Tue, 7 Jan 2025 09:17:20 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=hvZSXFf4; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=quarantine) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736241438; x=1736846238; i=garyj@gmx.de; bh=UNm5G5aHMmKhapyfmtaM9A5ZB1AexqjfcCSHwtIo2Us=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:In-Reply-To: References:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=hvZSXFf4zeJEkgIyTq4AhatgSGdbxwoxjmep7OTdDa9KukpbjrXsDr/uViEabW8v KHn8aqU0Hkpi/ZR6K2G4vXhzpbLwo/3Hy5yoT7jZ4OXyWzKdtQNrw3H9nnsRW+haM V2YYh9kUSsOurVKLLcnkIkmytDiBOGDmQ3xA12iuzFz8sveGt7ORsVCRjmz+wyKYF mTR5wle/yEBBlp65IWhh7gSgO55axvV7d+xwKxxRedCVzBSrw4zXVzX3MGmtv/sAU lDaP+Zv6rAkdehvRwtRELeyCvJu3MZ/XSStuiKmWfGJv71kBsi9D1gylwAF2u0STa D98vhEjyHjhOycpDLw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.2.55.142]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8XU1-1tZVXz1GmP-0181Uk for ; Tue, 07 Jan 2025 10:17:18 +0100 Date: Tue, 7 Jan 2025 09:12:55 +0000 From: Gary Jennejohn To: dev-commits-src-all@freebsd.org Subject: Re: git: cfd8866818ab - main - cdefs.h: Add warning about defining __BSD_VISIBLE and friends Message-ID: <20250107101255.4a887005@ernst.home> In-Reply-To: <202501062346.506NkbV6045275@gitrepo.freebsd.org> References: <202501062346.506NkbV6045275@gitrepo.freebsd.org> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:8nK3Fbd5xYWQDb7YeLqu+FpbobxsWN3JsDqMZQgV/qsOb/0eKcp ZP+gvJot/0x7glWn23gySISNZOmmzCxcv0qgWMhguiLrKZlslyuFdLs3AGQ+UM1Aq0b6Usa TNFXx/OLcjWW8+pQXJC6nkUyFuVg5M2NyWPfn65KEZQx+KavdwxAngBDhd4429plSpcziIj T/jrS6Un64Xur3QlEir5w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:JbqUxGCqZJc=;YCHbOw57q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cDy+R82SFMgPAwbHxQag6phXdRRcNx8TMUvWh/i eamZOmUi4= X-Rspamd-Queue-Id: 4YS56S5YgGz4wrP X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.958]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,quarantine]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_REPLYTO(0.00)[gmx.de]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmx.de:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-all@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@freebsd.org]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; HAS_REPLYTO(0.00)[garyj@gmx.de] On Mon, 6 Jan 2025 23:46:37 GMT Warner Losh wrote: > The branch main has been updated by imp: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcfd8866818abb68fbfbffb925= 298c0b457cb32b5 > > commit cfd8866818abb68fbfbffb925298c0b457cb32b5 > Author: Warner Losh > AuthorDate: 2025-01-06 23:45:51 +0000 > Commit: Warner Losh > CommitDate: 2025-01-06 23:46:06 +0000 > > cdefs.h: Add warning about defining __BSD_VISIBLE and friends > > Undefined things happen if users define these macros, be more explic= it > about documenting that. > > Sponsored by: Netflix > --- > share/man/man9/cdefs.9 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/share/man/man9/cdefs.9 b/share/man/man9/cdefs.9 > index 2e6f1b440efb..4efce132d393 100644 > --- a/share/man/man9/cdefs.9 > +++ b/share/man/man9/cdefs.9 > @@ -401,7 +401,8 @@ are also included. > These macros are set by > .Nm > to control the visibility of different standards. > -Users should not use these, but they are documented here for developers= . > +Users must not define these, and doing so will produced undefined resul= ts. Typo: s/produced/produce/ > +They are documented here for developers working on system's header file= s. > .Bl -column "---------------" > .It Dv __XSI_VISIBLE Ta Restricts the visibility of XOPEN Single Unix S= tandard version. > Possible values are 500, 600, 700 or 800, corresponding to Issue 5, 6, = 7, or 8 > =2D- Gary Jennejohn