Re: [Q] Why is compat_uid_t a u16 value?

From: Chris Wedgwood <cw_at_f00f.org>
Date: 2004-09-13 05:55:31
On Sun, Sep 12, 2004 at 11:01:09AM -0400, Carlos O'Donell wrote:

> The ia32 emulation code is using 'unsigned int' for uid_t returned
> back to userspace. While the compat.h definitions uses compat_uid_t,
> which is defined as u16.

Some older parts of the x86 ABI use a 16-bit UID in places (sysv IPC
and stat probably, I didn't check).

> Is this correct? I would assume that compat_uid_t should be u32
> under ia64.

Then running applications using the old x86 ABI would break.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Sep 12 15:58:57 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST