* Re: MIPS defines __kernel_uid_t as int?
[not found] <1089223996.20452.31.camel@miku.mobile.lnx.nokia.com>
@ 2004-07-08 0:59 ` Ralf Baechle
0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2004-07-08 0:59 UTC (permalink / raw)
To: Mika Kukkonen; +Cc: Andrew Morton, linux-mips
On Wed, Jul 07, 2004 at 11:13:16AM -0700, Mika Kukkonen wrote:
> I was doing
> $ grep __kernel_uid_t include/*/posix_types.h
>
> and noticed that MIPS is the only architecture that
> defines that to be signed (int) and not unsigned?
>
> Same with __kernel_uid32_t. Is this intentional
> deviation or just an oversight?
Intentional but with a really weak reason. Linux/MIPS uses the same
type definitions as SysV rsp. the MIPS ABI in it's EFT (Extended
Fundamental Types). Not a great idea in retroperspective but that's a
choice made 10 years ago.
I don't think we'd break anything by changing this. Objections to
changing it?
Ralf
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-08 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1089223996.20452.31.camel@miku.mobile.lnx.nokia.com>
2004-07-08 0:59 ` MIPS defines __kernel_uid_t as int? Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox