lkml.org 
[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDavid Howells <>
SubjectRe: [RFC] Splitting kernel headers and deprecating __KERNEL__
DateFri, 26 Nov 2004 11:58:27 +0000
> I'm not particularly stuck on the <user/> namespace.  We could invent
> a better name.  How about <kern/> and <arch/> to replace <linux/>
> and <asm/>?  Obviously keeping linux/ and asm/ symlinks for backwards
> compatibility.

I'd rather not change linux and asm within the kernel itself. We'd have to
patch pretty much every file and move all the include files around. That's a
lot of patch.

How about calling the interface headers "kapi*/" instead of "user*/". In case
you haven't guessed, "kapi" would be short for "kernel-api".

Then we'd have in the kernel:

	NEW DIRECTORY		DIRECTORY SHADOWED
	=============		==================
	include/kapi/		include/linux/
	include/kapi-*/		include/asm-*/
	include/kapi-rxrpc/	include/rxrpc/
	include/kapi-net/	include/net/
And in userspace:

	SOURCE			INSTALLED AS
	======================	============
	include/kapi/		/usr/include/kapi/
	include/kapi-i386/	/usr/include/kapi-i386/
	include/kapi-generic/	/usr/include/kapi-generic/
				/usr/include/linux -> kapi
				/usr/include/asm -> kapi-i386
				/usr/include/asm-generic -> kapi-generic (?)
David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008