commit 090bff1285167745377288f00a468e6fc7e72723 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Wed Nov 27 15:53:44 2019 -0800
kernel - Add SYSCTL_BIT32(n) and BIT64(n) support * Add sysctl support capable of diving bits in a flags field. This sysctl passes and returns an int (0 or 1) to userland. * 32-bit and 64-bit flags fields supported. Summary of changes: sys/kern/kern_debug.c | 14 ++++- sys/kern/kern_sysctl.c | 154 ++++++++++++++++++++++++++++++++++++++++++------- sys/sys/sysctl.h | 61 ++++++++++++++------ 3 files changed, 187 insertions(+), 42 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/090bff1285167745377288f00a468e6fc7e72723 -- DragonFly BSD source repository