Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 47
hp e3000
programming
and posix
group management - getgid()/setgid()
gid_t getgid (void);
returns the POSIX GID of the calling process
int setgid(gid_t gid);
exists but isnt implemented
MPE forces your GID to correspond to the MPE
account of your UID anyway