Date: Tue, 6 Oct 1998 16:50:06 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: hackers@FreeBSD.ORG Subject: sysctl for string arguments ? Message-ID: <199810061550.QAA06801@labinfo.iet.unipi.it>
next 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). thanks luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ 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?199810061550.QAA06801>