Re: /usr/include/*/acpi.h

From: Robert Hancock
Date: Thu Jan 04 2007 - 18:37:49 EST


Petr Baudis wrote:
On Thu, Jan 04, 2007 at 04:15:45PM CET, Len Brown wrote:
This header files are part of the linux kernel, and thus of course
available in /usr/include/{asm,linux}.
So you pick up all of the kernel include/linux and include/asm*?
(but exclude include/acpi/, which is as much a kernel header as the above)

Yes, we do not exclude any files from the kernel headers package, since
it is safer to have an extra file there than miss something that
something in userspace *could* need - or that is not needed now but can
silently become useful for something userspace in the future. An "all
headers part of the linux kernel" is much safer definition than "a
somewhat random selection of kernel headers".

I wouldn't agree with this. We have what headers are to be used in userspace now well defined with the "make headers_install" feature in the kernel, which is what Fedora Core 6 is basing its kernel headers on. Including all headers is simply asking for userspace to use functions, etc. from the kernel source which they have no business using.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/