From nobody Tue Dec 27 06:09:48 2022 X-Original-To: standards@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 4Nh44Y0jTKz2cDwQ for ; Tue, 27 Dec 2022 06:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Nh44X554Vz4CQd for ; Tue, 27 Dec 2022 06:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672121388; 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: in-reply-to:in-reply-to:references:references; bh=mCWM4BRRFtkPoHL7nVPeCYjglo83/ybwHklu8tAcpXo=; b=kOJNUtAYdwBGtbeTEGWlRgVv/38IGneUs8t4YfQY5WtvbOE2Gb90BaNCIeKBnMPSOmVaca VWSxbtH2IpJClxY7hZr9Iikl06tVT8Y/xGkGfDm2R9ZJNVnyZR4v0XxMFJHTGk96QUpXo4 sU0KpJaHlCqz0oEi7zIR12BpcYNJGavNSIpu86MVJN6eABMGmEk95jQB/ZUUbLWfq4+pUi WPEh6HxJHf/dLtNoNFvSI+Gaspj+QFlhtIval+Dj/Vf9NWm7F8SP4EBgN7MPStC8/yU7dy sffJxkadpZh8cX3O8m6yFkuhDYC3qGB+pFwquxVz9bj/5mb1Xmzdb2Z9wgN4Gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672121388; a=rsa-sha256; cv=none; b=Nx69g3aHq5btmfnrvZL75xu/QZHCxuLqMPCTV8nCiYgICh18vrb0IicYQ32mlXBWuVIDx2 W39zFGRL9UwbdWRIg0dZtOL+MKOwI86Yvao5iEdl4NVGXVSfw+4aNsgleVGh2Dh/ZVrxvD aE3j3JkIJIGFJYi+UYcaMQ1/2xz4RcN2m8hjMf4aLVG2vTN5aNtSkknrYcTyt2YCc3E1h9 xVqmN1F1xvyb875jxZfc7KB2y2uEAd5QDqvfE8vMiO7q3Q7EzHgsTbN9ifFbYf96us2Bvs /z7whhmgE44lQMUkUQyOq12zF9Uo7H1TNfwqBKjwYbYcZyOCUX5v3b6zjrQbHA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Nh44X43VGz10ph for ; Tue, 27 Dec 2022 06:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BR69mK4012311 for ; Tue, 27 Dec 2022 06:09:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BR69mCN012310 for standards@FreeBSD.org; Tue, 27 Dec 2022 06:09:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv() Date: Tue, 27 Dec 2022 06:09:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268479 Dennis Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #17 from Dennis Clarke --- (In reply to Mark Millard from comment #15) I have to agree fully and I think this topic has been hammered down neatly with nothing further needs to be said.=20 You say "I find no evidence that posix requires the kind of interpretation you are expecting" and I must fully agree here. There really is no statement from the OpenGroup et. al. which would claim that the uname struct members need be anything portable or even dare I say it "standards conforming".=20 I know that I hand waving around "cannot be used portably" without the real detailed digging that you have done.=20 With regards to uname() I must agree that "FreeBSD is not violating POSIX via FreeBSD's behavior" entirely.=20 This means that I will need to wrap some code in "ifdef" stuff and then drag out sysctl and friends. I will begin work on that immediately and also cease and desist the usage of uname() everywhere else. It may work on NetBSD and Solaris systems but we now know there is no such promise across multiple implementations. Such is the state of affairs. To echo Warner Losh in full hand waving "wow let's stop this now"=20 because :=20 "Yea, POSIX doesn't say what the values mean, so anything we return is standard conforming, so therefore we're standards compliant. It might not be useful, but it is standards compliant. :)" Yea verily I say unto you all : I would like to close this as "Not a Bug" with "It never was anyways!" Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional --=20 You are receiving this mail because: You are the assignee for the bug.=