Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 04:54:26 -0500
From:      Coleman Kane <cokane@micro.ti.com>
To:        "Pierre Y. Dampure" <pierre.dampure@westmarsh.com>
Cc:        Poul-Henning Kamp <phk@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sys user.h
Message-ID:  <20010219045426.A48032@cokane.yi.org>
In-Reply-To: <3A90DF0A.236698A9@westmarsh.com>; from pierre.dampure@westmarsh.com on Mon, Feb 19, 2001 at 03:54:19AM -0500
References:  <200102121719.f1CHJ2d07274@freefall.freebsd.org> <3A90DF0A.236698A9@westmarsh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Actually, I believe you are supposed to decrease the size of the empty buffer
zone at the end of the struct when you do change something like this. I think
that's why it's there. That way, we don't keep resizing the struct.

Pierre Y. Dampure had the audacity to say:
> 
> Poul-Henning Kamp wrote:
> 
> > phk         2001/02/12 09:19:01 PST
> >
> >   Modified files:
> >     sys/sys              user.h
> >   Log:
> >   Since we're in "everybody is hosed anyway" add an layout identifier
> >   to struct kinfo_proc.
> >
> >   All userland/kernel shared structs should contain *both* a size and
> >   a layout field.
> >
> >   I will add the code to use the field later.
> >
> 
> 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.
> 
> Best Regards,
> 
> 
> PYD
> 
> 


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?20010219045426.A48032>