Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 1995 22:48:47 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        charnier@lirmm.fr, hackers@FreeBSD.org
Subject:   Re: sysctl(3) in kernel modules.
Message-ID:  <199505201248.WAA02087@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The question is: Can I replace it by __sysctl ? Is this THE right choice
>when -DKERNEL.

It isn't right.  __sysctl() requires lots of magic initialization, possibly
including faking kernel space to be user space so that copyin() works.

Use part of version[].

Bruce




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