system call for saved uid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

First of all this is my first post so please be nice if I'm not using proper mailing list etiquette or if I ask a stupid question.

I was wondering if anyone knew of how to retrieve a SAVED UID. I know that you can set/get a real and effective UID. I know you can set a SAVED UID, but I do not know how to get a saved uid. There is no getsuid() sys call.

The getresuid() system call gets the real, effective, and saved UIDs, but doesn't return them - so I'm wondering how to actually access the saved UID. setresuid() puts the saved uid into current->suid, but I can't access that through user space applications, can I?

It's possible I'm just missing something fundamental about the UID system. Also, I'm using linux 2.6.16 and really I'm not even sure that this Fedora Core 5 system even uses saved UIDs.

Any information on the issue would be greatly appreciated.

Julian B.

jbui@xxxxxxxxxxxx

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux