From owner-freebsd-hackers Thu Sep 4 18:41:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA07144 for hackers-outgoing; Thu, 4 Sep 1997 18:41:03 -0700 (PDT) Received: from shell.firehouse.net (brian@shell.firehouse.net [209.42.203.45]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA07139 for ; Thu, 4 Sep 1997 18:40:58 -0700 (PDT) Received: from localhost (brian@localhost) by shell.firehouse.net (8.8.5/8.8.5) with SMTP id VAA08058 for ; Thu, 4 Sep 1997 21:40:43 -0400 (EDT) Date: Thu, 4 Sep 1997 21:40:41 -0400 (EDT) From: Brian Mitchell To: hackers@freebsd.org Subject: sysctl within lkm? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Is it possible to create sysctl nodes/entries/etc in a LKM driver? The macros do not seem to work, is it doable at all? It's probably not a good idea anyways (since when you unload it, the memory the sysctl references would be invalid) but still...