Date: Wed, 8 Dec 1999 17:01:09 +0100 (CET) From: Andrzej Bialecki <abial@webgiro.com> To: Dan Seguin <dseg@texar.com> Cc: Arun Sharma <adsharma@sharmas.dhs.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: Fwd: Re: kstat - an API for gathering kernel stats Message-ID: <Pine.BSF.4.20.9912081657430.64505-100000@mx.webgiro.com> In-Reply-To: <Pine.BSF.4.05.9912080850530.55442-100000@pak2.texar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Dec 1999, Dan Seguin wrote: > > Is it possible to make nodes dynamically that are immutable from userland > (even by root), but modifyable from the kernel? Yes, of course. Just mark them as read-only (CTLFLAG_RD). You are free to assign any value to them within the kernel. If it's more complex type handled with SYSCTL_PROC (like eg. vm.zone sysctl) you still can decide what value you return from kernel, and you can ignore any requests to assign new values. > > On Mon, 29 Nov 1999, Andrzej Bialecki wrote: > > > > > Yes. See for example linux emulator or my SPY module: > > > > http://www.freebsd.org/~abial/spy > > > > You can also create whole new branches, as the second example shows. > > > > Andrzej Bialecki > > > > // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) > > // ------------------------------------------------------------------- > > // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- > > // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- > > > > -------------------------------------------------------------------------------- > Dan Seguin Texar Software, Corporation. > > Visit us at the RSA Conference 2000, January 16-20, San Jose, Booth # 1241 > > > > Andrzej Bialecki // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- 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?Pine.BSF.4.20.9912081657430.64505-100000>