From owner-cvs-all Mon Feb 19 1:41:20 2001 Delivered-To: cvs-all@freebsd.org Received: from www.evil.2y.net (ip-216-23-53-155.adsl.one.net [216.23.53.155]) by hub.freebsd.org (Postfix) with ESMTP id 79E6437B6B7; Mon, 19 Feb 2001 01:41:08 -0800 (PST) Received: (from cokane@localhost) by www.evil.2y.net (8.11.2/8.11.1) id f1J9sQS48068; Mon, 19 Feb 2001 04:54:26 -0500 (EST) (envelope-from cokane) Date: Mon, 19 Feb 2001 04:54:26 -0500 From: Coleman Kane To: "Pierre Y. Dampure" Cc: Poul-Henning Kamp , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys user.h Message-ID: <20010219045426.A48032@cokane.yi.org> References: <200102121719.f1CHJ2d07274@freefall.freebsd.org> <3A90DF0A.236698A9@westmarsh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3A90DF0A.236698A9@westmarsh.com>; from pierre.dampure@westmarsh.com on Mon, Feb 19, 2001 at 03:54:19AM -0500 X-Vim: vim:tw=70:ts=4:sw=4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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