From owner-freebsd-alpha Mon May 17 6:49:49 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id ADF2215540 for ; Mon, 17 May 1999 06:49:45 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id OAA56682; Mon, 17 May 1999 14:49:21 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 17 May 1999 14:49:21 +0100 (BST) From: Doug Rabson To: John Polstra Cc: Dmitrij Tejblum , alpha@freebsd.org Subject: Re: proc size mismatch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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