Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 15:54:47 -0600
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        John Baldwin <jhb@FreeBSD.org>, "Pierre Y. Dampure" <pierre.dampure@westmarsh.com>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys user.h
Message-ID:  <20010220155447.A60954@hamlet.nectar.com>
In-Reply-To: <95465.982704647@critter>; from phk@critter.freebsd.dk on Tue, Feb 20, 2001 at 10:30:47PM %2B0100
References:  <XFMail.010219175624.jhb@FreeBSD.org> <95465.982704647@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 20, 2001 at 10:30:47PM +0100, Poul-Henning Kamp wrote:
> 
> >> 
> >> Hmm... I think you added this field without updating KINFO_PROC_SIZE --
> >> we now get warnings at boot time about the size of kinfo_proc differing
> >> from KINFO_PROC_SIZE.
> >
> >That needs to die.  I think a scheme like the following will work:
> 
> <humour>
> I'm starting to lean towards plan-9 again...
> </humour>
> 
> I think that a simple version number will be sufficient and that a sizeof
> will be convenient.  I don't think the sizeof should be a #define like
> now, but rather an actual sizeof().
> 
> The current #define SIZEOF is unlikely to work on Bruce's i386/64bit-long
> kernel for instance.
> 
> if we want to go _way out_ we define the structures with XDR.

<frightening why="half-serious">
  XDR?  Hmpf.  ASN.1 and PER encoding.
</frightening>

-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220155447.A60954>