Programming and posix - February 2001
February 10, 2001
Solution Symposium
Page 46
hp e3000
programming
and posix
group management - getgid()/setgid()
• gid_t getgid (void);
• returns the POSIX GID of the colling process
• int setgid(gid_t gid);
• exists but isn’t implemented
• MPE forces your GID to correspond to the MPE
account of your UID anyway