From owner-cvs-all Tue Feb 20 13:30:47 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id EECBD37B4EC; Tue, 20 Feb 2001 13:30:38 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f1KLUlx95467; Tue, 20 Feb 2001 22:30:47 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: "Pierre Y. Dampure" , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/sys user.h In-Reply-To: Your message of "Mon, 19 Feb 2001 17:56:24 PST." Date: Tue, 20 Feb 2001 22:30:47 +0100 Message-ID: <95465.982704647@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >> 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(). 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message