lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 3 Sep 2011 07:11:32 -0700
From:	"H.J. Lu" <hjl.tools@...il.com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Arnd Bergmann <arnd@...db.de>,
	Christoph Hellwig <hch@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Richard Kuo <rkuo@...eaurora.org>,
	Mark Salter <msalter@...hat.com>,
	Jonas Bonn <jonas@...thpole.se>,
	Tobias Klauser <tklauser@...tanz.ch>
Subject: Re: RFD: x32 ABI system call numbers

On Fri, Sep 2, 2011 at 10:16 PM, H. Peter Anvin <hpa@...or.com> wrote:
> On 09/02/2011 09:44 PM, H.J. Lu wrote:
>>>
>>> What is the definition of these macros?
>>>
>>
>> I have
>>
>> #if defined __x86_64__ && __WORDSIZE == 32
>> #define __INO_T_TYPE          __UQUAD_TYPE
>> #define __NLINK_T_TYPE                __UQUAD_TYPE
>> #define __OFF_T_TYPE          __SQUAD_TYPE
>> #define __RLIM_T_TYPE         __UQUAD_TYPE
>> #define       __BLKCNT_T_TYPE         __SQUAD_TYPE
>> #define       __FSFILCNT_T_TYPE       __UQUAD_TYPE
>> #define       __FSBLKCNT_T_TYPE       __UQUAD_TYPE
>> #define __TIME_T_TYPE         __SQUAD_TYPE
>> #define __BLKSIZE_T_TYPE      __SQUAD_TYPE
>> #define __SUSECONDS_T_TYPE    __SQUAD_TYPE
>> #define __SNATIVE_LONG_TYPE   __SQUAD_TYPE
>> #define __UNATIVE_LONG_TYPE   __UQUAD_TYPE
>> #else
>> #define __INO_T_TYPE          __ULONGWORD_TYPE
>> #define __NLINK_T_TYPE                __UWORD_TYPE
>> #define __OFF_T_TYPE          __SLONGWORD_TYPE
>> #define __RLIM_T_TYPE         __ULONGWORD_TYPE
>> #define       __BLKCNT_T_TYPE         __SLONGWORD_TYPE
>> #define       __FSFILCNT_T_TYPE       __ULONGWORD_TYPE
>> #define       __FSBLKCNT_T_TYPE       __ULONGWORD_TYPE
>> #define __TIME_T_TYPE         __SLONGWORD_TYPE
>> #define __BLKSIZE_T_TYPE      __SLONGWORD_TYPE
>> #define __SUSECONDS_T_TYPE    __SLONGWORD_TYPE
>> #define __SNATIVE_LONG_TYPE   __SLONGWORD_TYPE
>> #define __UNATIVE_LONG_TYPE   __ULONGWORD_TYPE
>> #endif
>>
>
> I don't understand the types on the right side...
>

LONGWORD is long and QUAD is 64bit int.


-- 
H.J.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ