Re: [RFC] Splitting out kernel<=>userspace ABI headers

From: Sam Ravnborg
Date: Wed Sep 14 2005 - 11:58:57 EST



> The kernel predates C99, sort of, and it would be a massive but valuable
> task to figure out where a type is really, for instance, 32 bits
> rather than "size of default int" in length, etc, and use POSIX types
> where they are correct. Fewer things to maintain, and would make it
> clear when something is 32 bits by default and when it really must be 32
> bits.
This has been discussed several times on lkml.
Ask google...
In short - the kernel provide its own namespace, and here __u32 etc is
used. And starting to change that would be a noisy effort with no or
limited gain neither for the kernel nor userspace.

Sam
-
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/