kernel: Add further support for fixed-width integer type sysctls

Operating Systems / DragonFlyBSD - Sascha Wildner [online.de] - 6 October 2018 07:29 EDT

U32 support was added in c48b2bac286ed1aaa6b974adfbc844e82bc65f38.

QUAD and UQUAD are now aliases of S64 and U64.

Taken-from: FreeBSD

347aefc6a8 kernel: Add further support for fixed-width integer type sysctls.
sbin/sysctl/sysctl.c | 51 ++++++++++++++----
share/man/man9/Makefile | 14 +++++
share/man/man9/sysctl.9 | 111 ++++++++++++++++++++++++++++++++++++----
share/man/man9/sysctl_add_oid.9 | 107 +++++++++++++++++++++++++++++++++++++-
sys/kern/kern_sysctl.c | 71 ++++++++++++++++++++++++-
sys/sys/sysctl.h | 77 +++++++++++++++++++++++++++-
6 files changed, 407 insertions(+), 24 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share