[Bug 289717] getconf: Missing _SC_PHYS_PAGES support

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Sep 2025 16:53:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289717

--- Comment #1 from Jason W. Bacon <jwb@freebsd.org> ---
OK, I figured out that running make in usr.bin/getconf stores results under
/usr/obj.  The patch I suggested does the trick:

# /usr/obj/usr/src/amd64.amd64/usr.bin/getconf/getconf PHYS_PAGES
4184686

While we're in here, we should probably make sure that all variables documented
in sysconf(3) are properly supported.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html lists
the variables required by POSIX.

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