Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2023 18:49:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275016] Move disable_rtc_set, wall_cmos_clock, adjkerntz and rtc_save_period sysctl variables to kern namespace
Message-ID:  <bug-275016-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275016

            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.  */

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275016-227>