Date: Sun, 5 Nov 1995 17:45:36 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: peter@freefall.freebsd.org (Peter Wemm) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys conf.h Message-ID: <199511051645.RAA26332@uriah.heep.sax.de> In-Reply-To: <199511050937.BAA25571@freefall.freebsd.org> from "Peter Wemm" at Nov 5, 95 01:37:31 am
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511051645.RAA26332>