Re: kvm_nlist emulation of n_type from kld symbol table at runtime.

[ Available lists | Index of cvs-all | Month of Dec 1998 | Week of 30 Dec 1998 | Raw email | View thread | Wrap long lines | Reply ]
From
Poul-Henning Kamp <phk@critter.freebsd.dk>
Date
30 Dec 1998 13:00:11
Subject
Re: kvm_nlist emulation of n_type from kld symbol table at runtime.
Message-ID
91883.915051506@critter.freebsd.dk

In reply to

[ Hide this part ]
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


Elapsed time: 0.739 seconds