Date: Tue, 06 Oct 1998 11:34:43 -0700 From: Mike Smith <mike@smith.net.au> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: hackers@FreeBSD.ORG Subject: Re: sysctl for string arguments ? Message-ID: <199810061834.LAA00391@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 06 Oct 1998 16:50:06 BST." <199810061550.QAA06801@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi, > > can someone point me to some code which is already in the kernel and > can handle sysctl for R/W string arguments ? > > I see there is sysctl_handle_string but i am totally unclear on how to > make it works, and a few attempts just resulted in panics. Furthermore > i cannot find a single place where this is used! > > other strings in sysctl args seem not to be R/W (or at least, > not settable with the "sysctl" command... e.g. kern.hostname and the > like). kern.corefile in kern_sig.c. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com 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?199810061834.LAA00391>