[Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv()

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Dec 2022 23:13:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268479

--- 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 = 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.

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