Date: Wed, 22 Oct 2003 13:45:11 -0700 From: Chris Bond <bondc@shaw.ca> To: freebsd-current@freebsd.org Subject: struct kinfo_proc->ki_tsize is inaccurate Message-ID: <000901c398dd$6310ddf0$0100a8c0@muscle>
next in thread | raw e-mail | index | archive | help
Greetings, When I use kvm_getprocs() together with KERN_PROC_PID to get process information, the structure it returns contains an inaccurate ki_tsize (text segment size) variable. On my machine, it seems to alternate--seemingly at random--between 1 and 168, neither of which is correct. The process in question is suspended when I make the call (ptrace(PT_TRACE_ME...)). Just wondering what the deal is. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c398dd$6310ddf0$0100a8c0>