From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbVICAeU (ORCPT ); Fri, 2 Sep 2005 20:34:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751346AbVICAeU (ORCPT ); Fri, 2 Sep 2005 20:34:20 -0400 Received: from terminus.zytor.com ([209.128.68.124]:31459 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S1751242AbVICAeT (ORCPT ); Fri, 2 Sep 2005 20:34:19 -0400 Message-ID: <4318EF83.1010401@zytor.com> Date: Fri, 02 Sep 2005 17:34:11 -0700 From: "H. Peter Anvin" User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kyle Moffett CC: linux-kernel@vger.kernel.org Subject: Re: [RFC] Splitting out kernel<=>userspace ABI headers References: <20050902134108.GA16374@codepoet.org> <22D79100-00B5-44F6-992C-FFFEACA49E66@mac.com> <20050902235833.GA28238@codepoet.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Kyle Moffett wrote: > On Sep 2, 2005, at 20:07:58, H. Peter Anvin wrote: > >> Followup to: <20050902235833.GA28238@codepoet.org> >> By author: Erik Andersen >> In newsgroup: linux.dev.kernel >> >>> >>> That would be wonderful. >>> >>> >>> 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