Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Dumb Kid" <dumbkid@hotmail.com>
To: axp-list@redhat.com
Subject: setuid() in Alpha/Linux
Date: Wed, 03 Mar 1999 07:05:09 GMT	[thread overview]
Message-ID: <19990303070510.14776.qmail@hotmail.com> (raw)

Hi All,

I know the uid limit in x86 linux is 65535. And I would
think the limit in Alpha will be much bigger due to the 64-bit
arch.

I can successfully create a file and chown to >65535 uid. And
getpwuid(>65535) will return the correct user entry also.

However, when I do "setuid" in a C program, the uid will change
to something like uid-65535, therefore, setuid(65536) will
run the program as uid 1 ??

All that was in 2.0.36 kernel. Any patches I need to patch
in order to make the kernel support >65535 uid?

Regards,
Tom

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


             reply	other threads:[~1999-03-03  7:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03  7:05 Dumb Kid [this message]
1999-03-03  8:03 ` setuid() in Alpha/Linux Tom Holroyd
1999-03-04  2:51   ` Michael Tibor
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox