[lkml]   [1997]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.0.29 sysctl.c if(grp == current->euid)
I'm not sure either, I'm confused by Linux's use of uids and gids, for
every process it keeps 4 variants of each (plus an array of group ids):

uid, suid, euid, fsuid
gid, sgid, egid, fsgid

So far as I can tell from reading the code, the fsuid and fsgid are
used when checking access to files and they are there because some executables
may change the uid and gid of the executing process (for the purposes of
privilege protection). euid and egid are the effective ids (based on
{uid, suid} and {gid, sgid}?). If someone could clarify this it would be

The patch though does not make sense to me either...


David A Rusling Principal Engineer
European Semiconductor Applications Digital Equipment Co Ltd.,
Engineering PO Box 121,
Imperial Way,
Worton Grange
Reading RG2 0TU
Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380
Fax: UK-(0)1734-203133

 \ /
  Last update: 2005-03-22 13:38    [W:0.100 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site