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
> > 
> > //  <[EMAIL PROTECTED]> 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

//  <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to