Unix and Linux Discussions Tagged with bsd |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
34,069 |
BSD |
|
|
|
5 |
22,037 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
22,422 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
22,011 |
BSD |
|
|
|
11 |
13,716 |
BSD |
|
|
|
1 |
8,286 |
BSD |
|
|
|
9 |
28,702 |
BSD |
|
|
|
3 |
8,864 |
BSD |
|
|
|
0 |
3,116 |
What is on Your Mind? |
|
|
|
6 |
8,085 |
BSD |
|
|
|
0 |
6,389 |
BSD |
|
|
|
4 |
10,576 |
BSD |
|
|
|
0 |
12,472 |
BSD |
|
|
|
4 |
11,606 |
BSD |
|
|
|
3 |
11,351 |
BSD |
|
|
|
1 |
6,702 |
BSD |
|
|
|
7 |
4,025 |
Shell Programming and Scripting |
|
|
|
0 |
4,500 |
IP Networking |
|
|
|
4 |
2,722 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
14,283 |
BSD |
|
|
|
0 |
6,952 |
BSD |
|
|
|
2 |
13,237 |
BSD |
|
|
|
1 |
8,186 |
BSD |
|
|
|
1 |
13,653 |
BSD |
|
|
|
4 |
11,620 |
BSD |
|
|
|
4 |
9,450 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
18,208 |
BSD |
|
|
|
2 |
12,247 |
BSD |
|
|
|
3 |
9,199 |
BSD |
|
|
|
1 |
8,228 |
BSD |
|
|
|
2 |
18,001 |
BSD |
|
|
|
1 |
9,469 |
BSD |
|
|
|
0 |
6,091 |
Shell Programming and Scripting |
|
|
|
4 |
9,048 |
BSD |
|
|
|
6 |
4,688 |
Programming |
|
|
|
2 |
10,469 |
BSD |
|
|
|
3 |
9,156 |
BSD |
|
|
|
7 |
27,225 |
BSD |
|
|
|
2 |
16,708 |
BSD |
|
|
|
0 |
7,876 |
BSD |
CR_SEEOTHERGIDS(9) BSD Kernel Developer's Manual CR_SEEOTHERGIDS(9)
NAME
cr_seeothergids -- determine visibility of objects given their group memberships
SYNOPSIS
int
cr_seeothergids(struct ucred *u1, struct ucred *u2);
DESCRIPTION
This function determines the visibility of objects in the kernel based on the group IDs in the credentials u1 and u2 associated with them.
The visibility of objects is influenced by the sysctl(8) variable security.bsd.see_other_gids. If this variable is non-zero then all objects
in the kernel are visible to each other irrespective of their group membership. If this variable is zero then the object with credentials u2
is visible to the object with credentials u1 if either u1 is the super-user credential, or if at least one of u1's group IDs is present in
u2's group set.
SYSCTL VARIABLES
security.bsd.see_other_gids
Must be non-zero if objects with unprivileged credentials are to be able to see each other.
RETURN VALUES
This function returns zero if the object with credential u1 can ``see'' the object with credential u2, or ESRCH otherwise.
SEE ALSO
cr_seeotheruids(9), p_candebug(9)
BSD
November 11, 2003 BSD