On Thu, Feb 26, 2004 at 02:10:40PM +0100, Ivan Voras wrote:
In sys/sys/sysctl.h I see function kernel_sysctlbyname() that looks (to me) to be intended for accessing sysctl values from kernel, but for it's first parameter it requires a struct thread *td.
You could try lying about which thread you are, when you aren't in a userland thread:
Ok, that seems reasonable - I'll try using thread0.
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"