From owner-cvs-sys Sun Nov 5 10:09:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA07875 for cvs-sys-outgoing; Sun, 5 Nov 1995 10:09:56 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA07841 ; Sun, 5 Nov 1995 10:09:39 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA24903; Sun, 5 Nov 1995 19:09:30 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA16574; Sun, 5 Nov 1995 19:09:29 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id RAA26332; Sun, 5 Nov 1995 17:45:36 +0100 From: J Wunsch Message-Id: <199511051645.RAA26332@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/sys conf.h To: peter@freefall.freebsd.org (Peter Wemm) Date: Sun, 5 Nov 1995 17:45:36 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511050937.BAA25571@freefall.freebsd.org> from "Peter Wemm" at Nov 5, 95 01:37:31 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1083 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk As Peter Wemm wrote: > Workaround for conflicting kernel prototypes in user mode breaking make world There's yet another conflicting definition around: struct pmap is defined twice in a totally different context. Inside the kernel (and some kernel-spoofing utilities), it's describing a page map structure. In userland, it's the name of a structure related to the portmapper however. This one will become a real problem once lint is fully on-line. The C library is not lintable by now. I've attempted to work around this by introducing a `pmap_t' as an alias for the kernel `struct pmap', but while this made lint happy, it caused me grief with libkvm -- this turned out to be the reason for my question about ``proc size mismatch'' for programs like ps(1) etc. I think the cleanest solution would be renaming the kernel structure (e.g. to ``struct pagemap''), but i don't have an idea how much work this will be. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)