Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* setuid() in Alpha/Linux
@ 1999-03-03  7:05 Dumb Kid
  1999-03-03  8:03 ` Tom Holroyd
  0 siblings, 1 reply; 3+ messages in thread
From: Dumb Kid @ 1999-03-03  7:05 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-04  2:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-03  7:05 setuid() in Alpha/Linux Dumb Kid
1999-03-03  8:03 ` Tom Holroyd
1999-03-04  2:51   ` Michael Tibor

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