Date: Tue, 20 Feb 2001 22:30:47 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Baldwin <jhb@FreeBSD.org> Cc: "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: <95465.982704647@critter> In-Reply-To: Your message of "Mon, 19 Feb 2001 17:56:24 PST." <XFMail.010219175624.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>> >> 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. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95465.982704647>