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

From: H. Peter Anvin
Date: Fri Sep 02 2005 - 19:34:39 EST


Kyle Moffett wrote:
On Sep 2, 2005, at 20:07:58, H. Peter Anvin wrote:

Followup to: <20050902235833.GA28238@xxxxxxxxxxxx>
By author: Erik Andersen <andersen@xxxxxxxxxxxx>
In newsgroup: linux.dev.kernel

<uClibc maintainer hat on>
That would be wonderful.
</off>

It would be especially nice if everything targeting user space
were to use only all the nice standard ISO C99 types as defined
in include/stdint.h such as uint32_t and friends...


Absolutely not. This would be a POSIX namespace violation; they
*must* use double-underscore types.


I would actually be more inclined to provide and use types like
_kabi_{s,u}{8,16,32,64}, etc. Then the glibc/klibc/etc authors would
have the option of just doing "typedef _kabi_u32 uint32_t;" in their
header files.


They have to be *double-underscore*.

We have that. They're called __[su]{8,16,32,64}.

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