Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2022 23:13:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv()
Message-ID:  <bug-268479-99-wG62lf815o@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268479-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268479-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268479

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #4)

I'll note that I only found the following for UNAME_s:

# grep -r "UNAME_[a-z]" /usr/main-src/ | grep -v "_[rvmp]" | more
/usr/main-src/lib/libc/gen/__xuname.c:  if ((p =3D getenv("UNAME_s")))
/usr/main-src/lib/libc/gen/uname.3:.Bl -tag -width ".Ev UNAME_s"
/usr/main-src/lib/libc/gen/uname.3:.It Ev UNAME_s
/usr/main-src/lib/libc/gen/uname.3:.Ev UNAME_s

So: no explicit control (assignments to) UNAME_s but tracking
in uname(3), via __xuname.c code.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268479-99-wG62lf815o>