Subject: Re: CVS commit: syssrc/sys/arch
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 11/28/2001 11:28:54
On Wed, Nov 28, 2001 at 07:47:12PM +0100, Emmanuel Dreyfus wrote:

 > >    We need to copy new SVR4 header files to /usr/include/sys...
 > > we do?  why are these headers useful to userland?
 > 
 > No, they are completely useless AFAIK. The problem is that kernel code
 > in sys/compat/svr4 includes <machine/svr4_machep.h>, and there is no
 > link sys/machine -> sys/arch/<machine>/include in the kernel tree,
 > whereas there is a link /usr/include/machine -> /usr/include/<machine>.

If you're building a kernel, this doesn't matter (there are symlinks set
up for this by config(8)).  If you're building an LKM, there is symlink
magic in the Makefile to set this up for you.

Please back out the change that causes these headers to be installed
in a userland-visible location.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>