Re: [RFC] Splitting out kernel<=>userspace ABI headers
From: H. Peter Anvin
Date: Sat Sep 03 2005 - 00:53:44 EST
Erik Andersen wrote:
On Fri Sep 02, 2005 at 10:22:20PM -0700, H. Peter Anvin wrote:
Exportable types need to be double-underscore types, because the header
files in user space that would include them can generally not include
<stdint.h>.
I'm not talking about kernel headers that have to worry about
eventually being included in user space headers. Those nearly
all live in include/asm. I'm talking about the kernel headers
that define how userspace is supposed to interface with
particular kernel drivers or hardware. Headers such as
linux/cdrom.h and linux/loop.h and linux/fb.h.
What are you going to do with them if you're not going to include them
in userspace?!!!
If you're proposing one policy for linux/loop.h and one for sys/stat.h,
I would have to classify that as insane. Everything that gets exported
to userspace should behave the same way, please.
-hpa
-
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/