[Bug 275016] Move disable_rtc_set, wall_cmos_clock, adjkerntz and rtc_save_period sysctl variables to kern namespace

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Nov 2023 18:49:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275016

            Bug ID: 275016
           Summary: Move disable_rtc_set, wall_cmos_clock, adjkerntz and
                    rtc_save_period sysctl variables to kern namespace
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: seth.hoffert@gmail.com

Currently, the following four sysctl variables reside in the 'machdep'
namespace for historical reasons:

machdep.disable_rtc_set
machdep.wall_cmos_clock
machdep.adjkerntz
machdep.rtc_save_period

They should be moved to the 'kern' namespace for cleanliness.


Comment found in /sys/kern/subr_clock.c:

/*
 * The adjkerntz and wall_cmos_clock sysctls are in the "machdep" sysctl
 * namespace because they were misplaced there originally.
 */


Comment found in /sys/kern/subr_rtc.c:

/* XXX: should be kern. now, it's no longer machdep.  */

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