File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / getegid
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



getegid()              COHERENT System Call             getegid()




Get effective group identifier

getegid()

Every process has two different versions of its group identifier,
called the  real group identifier  and the effective  group iden-
tifier.   The group identifiers  determine eligibility  to access
files and use system privileges.  Normally, these two identifiers
are identical.   However, for a set  group identifier load module
(see exec), the real group identifier is that of the group's cur-
rent group, whereas the effective group identifier is that of the
load module  owner.  This  distinction allows system  programs to
use  files  which  are  protected  from  groups that  invoke  the
program.

getegid returns the effective group identifier.

***** See Also *****

access,  COHERENT   system  calls,  exec,   geteuid(),  getgid(),
getuid(), login, setuid()



































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.