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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



H. Peter Anvin wrote:
Followup to:  <20050902235833.GA28238@codepoet.org>
By author:    Erik Andersen <andersen@codepoet.org>
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.
Could you explain why you think it would be a violation to use POSIX 
types instead of defining our own? That's what the types are for, to 
avoid having everyone define some slightly conflicting types.
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.
--
   -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux