|
|
1.1 root 1:
2:
3: getegid() COHERENT System Call getegid()
4:
5:
6:
7:
8: Get effective group identifier
9:
10: getegid()
11:
12: Every process has two different versions of its group identifier,
13: called the real group identifier and the effective group iden-
14: tifier. The group identifiers determine eligibility to access
15: files and use system privileges. Normally, these two identifiers
16: are identical. However, for a set group identifier load module
17: (see exec), the real group identifier is that of the group's cur-
18: rent group, whereas the effective group identifier is that of the
19: load module owner. This distinction allows system programs to
20: use files which are protected from groups that invoke the
21: program.
22:
23: getegid returns the effective group identifier.
24:
25: ***** See Also *****
26:
27: access, COHERENT system calls, exec, geteuid(), getgid(),
28: getuid(), login, setuid()
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.