From owner-cvs-all Tue Feb 20 21:25: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id DB05F37B503; Tue, 20 Feb 2001 21:24:57 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp151.geekhouse.net [192.168.1.151]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f1L5Poc68283; Tue, 20 Feb 2001 21:25:51 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <95465.982704647@critter> Date: Tue, 20 Feb 2001 21:23:08 -0800 (PST) From: John Baldwin To: Poul-Henning Kamp Subject: Re: cvs commit: src/sys/sys user.h Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, "Pierre Y. Dampure" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Feb-01 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: > > > I'm starting to lean towards plan-9 again... > > > 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(). Fair enough. The min/max version stuff would just be a way of allowing older utils to work with newer kernels when teh changes weren't incomapatible, but it was just a suggestion. I also favor axeing hte spare fields and using a real sizeof() as well. > The current #define SIZEOF is unlikely to work on Bruce's i386/64bit-long > kernel for instance. True. > if we want to go _way out_ we define the structures with XDR. Eek! -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message