Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 1999 13:33:21 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: proc size mismatch
Message-ID:  <XFMail.990516133321.jdp@polstra.com>
In-Reply-To: <199905162012.AAA00986@tejblum.dnttm.rssi.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong



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?XFMail.990516133321.jdp>