Date: Fri, 12 Feb 1999 16:06:19 +0100 (MET) From: Emmanuel DELOGET <pixel@DotCom.FR> To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Cc: hackers@FreeBSD.ORG (FreeBSD Hackers Mail List) Subject: Re: TEXT_SET() macro Message-ID: <199902121506.PAA08837@excalibur.oceanis.net> In-Reply-To: <xzpogmzof0n.fsf@flood.ping.uio.no> from Dag-Erling Smorgrav at "Feb 12, 1999 3:47:20 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As the well known Dag-Erling Smorgrav said... ->Emmanuel DELOGET <pixel@DotCom.FR> writes: ->> I wanna know how it's working both at compile time and at run time ->> (for example, does a lkm (yes lkm, not kld, since I'm working on a ->> 2.2.8 release...) can declare linker_sets, or add entries in a kernel ->> linker_set, [for example , the sysctl_ one - seems that I'm very ->> interested in sysctls :)]. Thaks a lot. -> -> Yes. -> -> You shouldn't be working on 2.2.8 - the 2.2 branch is dead now. Save -> yourself a lot of trouble and go to 3.1. -> Helas ! It seems that the 3.1 branch (as said my chief, I have no time to verify) is too far from NetBSD, and I'll have to port may work to NetBSD soon ! So I work on a 2.2.8... (well, I don't know if I will be able to put that stuff in NetBSD, but I'll try !) The goal is to add a kernelized SNMP support, in fact, both to FreeBSD and NetBSD. I'll certainly do that for -current later. -> For linker set examples, look up the definition of the DECLARE_MODULE -> macro to see how they are declared and read the kldload code to see -> how they are used. Use e.g. <URL:http://lxr.linux.no/freebsd/source> Oups... Does that mean no linux ? ;) -> -> You can declare sysctls in modules, but the sysctl code will not pick -> them up so it's pretty useless. There is work pending to make that -> possible. -> This seems that the sysctl_order function is called only on the system init (due to SYSINIT), but it may be possible to find a workaroud (I'm working on this for 2.2.8, on the base of the D. Rabson patch for -current). -> DES ->-- -> Dag-Erling Smorgrav - des@flood.ping.uio.no Thaks a lot. -- ____________________________________________________________________ Emmanuel DELOGET [pixel] pixel@{dotcom.fr,epita.fr} ---- DotCom SA -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902121506.PAA08837>