git: sysctl - Add support for CTLTYPE_BIT32 and BIT64

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 27 15:57:10 PST 2019


commit 268aed1e2d73eee9e22c149c9aeecf7373aa0efe
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 27 15:54:42 2019 -0800

    sysctl - Add support for CTLTYPE_BIT32 and BIT64
    
    * Add support for CTLTYPE_BIT32 and CTLTYPE_BIT64.
    
    * In the switch() when you mask against CTLTYPE, the case statements should
      use CTLTYPE_BIT32(0) and CTLTYPE_BIT64(0).
    
      When generating the 'kind' field etc, use CTLTYPE_BIT32(bitno) or
      CTLTYPE_BIT64(bitno).

Summary of changes:
 sbin/sysctl/sysctl.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/268aed1e2d73eee9e22c149c9aeecf7373aa0efe


-- 
DragonFly BSD source repository


More information about the Commits mailing list