On Fri, 25 Oct 2002, Joe Marcus Clarke wrote: > On Fri, 25 Oct 2002, John Baldwin wrote: > > It does?! v_tag is a pointer to kernel memory, you can't read that > > from userland! You would get a SIGSEGV and die as soon as you do the > > 'strcmp()'. That's why I #ifdef'd the whole chunk out. Also, just for > > the record, my code didn't break the non CURRENT case. :)
Sorry, mispoke. Your code didn't fix the CURRENT case. :) > Gak! If Julian didn't pound kvm_read into my head before, I've got it > now. Sure, it compiles, buth then what :-}. Thanks for the pointer. > Attached is a patch to libgtop2, but should be similar if not identical to > what's needed for libgtop. Let me know if this looks a little better. > Thanks. > > Joe For another working and tested example, see rev 1.45 of fstat.c (usr.bin/fstat). -Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message