freebsd-skq/sbin/sysctl
Mark Johnston a0efcf6400 Add sysctl(8) formatting for hw.pagesizes.
- Change the type of hw.pagesizes to OPAQUE, since it returns an array.
- Modify the handler to only truncate the returned length if the caller
  supplied an output buffer.  This allows use of the trick of passing a
  NULL output buffer to fetch the output size, while preserving
  compatibility if MAXPAGESIZES is increased.
- Add a "S,pagesize" formatter to sysctl(8).

Reviewed by:	alc, kib
MFC after:	2 weeks
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26239
2020-09-02 18:17:08 +00:00
..
Makefile
Makefile.depend
sysctl.8 sysctl(8): clarify -n flag 2020-08-22 11:59:14 +00:00
sysctl.c Add sysctl(8) formatting for hw.pagesizes. 2020-09-02 18:17:08 +00:00
sysctl.conf