From owner-cvs-all Wed Dec 30 13:00:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00809 for cvs-all-outgoing; Wed, 30 Dec 1998 13:00:11 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00802 for ; Wed, 30 Dec 1998 13:00:06 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id VAA91885; Wed, 30 Dec 1998 21:58:28 +0100 (CET) To: Mike Smith cc: committers@FreeBSD.ORG Subject: Re: kvm_nlist emulation of n_type from kld symbol table at runtime. In-reply-to: Your message of "Wed, 30 Dec 1998 12:51:26 PST." <199812302051.MAA05699@dingo.cdrom.com> Date: Wed, 30 Dec 1998 21:58:26 +0100 Message-ID: <91883.915051506@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199812302051.MAA05699@dingo.cdrom.com>, Mike Smith writes: >> In message <199812301938.LAA04955@dingo.cdrom.com>, Mike Smith writes: >> > >> >> Nutshell: Can anybody forsee the need to export symbol type to userland? >> >> >> >No, the obvious solution is to improve and expand the sysctl interface, >> >which already provides size and type information. >> >> It would be trivial to implement in a sysctl, and we can even do it >> as >> sysctl kern.nlist.val.avenrun >> sysctl kern.nlist.type.avenrun >> if you want to... > >Why not just use the current type/format specifier convention? It >works just fine for all the things it's currently being used for. Sure, I just pointed out the flexibility of sysctl. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message