NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/47579: compat module does not provide kern.oboottime sysctl



>Number:         47579
>Category:       kern
>Synopsis:       compat module does not provide kern.oboottime sysctl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 20 01:20:01 +0000 2013
>Originator:     Paul Goyette
>Release:        NetBSD 6.99.14
>Organization:
-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
>Environment:
        
        
System: NetBSD screamer.whooppee.com 6.99.14 NetBSD 6.99.14 (WHOOPPEE (shared) 
2012-10-20 17:00:50) #52: Sat Oct 20 10:04:12 PDT 2012 
paul%screamer.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/WHOOPPEE
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        If you build a kernel with 'options COMPAT_50' it will create a
        sysctl variable kern.oboottime.  However, the compat module does
        not provide this variable.  So, if you have older images that
        require this variable, you cannot use the compat module.
>How-To-Repeat:
        
>Fix:
        Move the sysctl code out of kern/sysctl_init.c and into
        kern/kern_time_50.c, and update compat/common/compat_mod.c to
        initialize it.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index