From owner-freebsd-hackers Tue Oct 6 10:51:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04112 for freebsd-hackers-outgoing; Tue, 6 Oct 1998 10:51:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA04092 for ; Tue, 6 Oct 1998 10:51:13 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA06801; Tue, 6 Oct 1998 16:50:07 +0100 From: Luigi Rizzo Message-Id: <199810061550.QAA06801@labinfo.iet.unipi.it> Subject: sysctl for string arguments ? To: hackers@FreeBSD.ORG Date: Tue, 6 Oct 1998 16:50:06 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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