> On Thu, Nov 04, 1999 at 09:31:02PM -0600, Chris Costello wrote:
> > On Thu, Nov 04, 1999, Arun Sharma wrote:
> > > Can a loadable module, say a network driver register variables with
> > > sysctl ? Can sysctl itself be made a loadable module ? As for the speed,
> > 
> > a.) Yes.
> 
> I don't see any examples in sys/modules. The SYSCTL_INT macros eventually
> expands to DATA_SET which puts certain data in a different ELF section.

You don't do anything magic at all; it's handled invisibly by the 
kernel linker.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to