Date: Mon, 17 May 1999 14:49:21 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: John Polstra <jdp@polstra.com> Cc: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, alpha@freebsd.org Subject: Re: proc size mismatch Message-ID: <Pine.BSF.4.05.9905171448550.509-100000@herring.nlsystems.com> In-Reply-To: <XFMail.990516133321.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 May 1999, John Polstra wrote: > Dmitrij Tejblum wrote: > > > > Well, I don't have current -current on my alpha right now, but I bet it > > is because someone made sizeof(dev_t) == 8 in kernel (it is void*), but > > == 4 in userland. It seems to affect struct kinfo_proc. > > Yep, that's it! In userland if I artificially #define dev_t as void * > in the right place, the size of struct eproc rises from 592 to 600. I think I have fixed this by changing the type of e_tdev to udev_t. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905171448550.509-100000>