Unix and Linux Discussions Tagged with bsd |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
34,065 |
BSD |
|
|
|
5 |
22,034 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
22,420 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
22,010 |
BSD |
|
|
|
11 |
13,713 |
BSD |
|
|
|
1 |
8,285 |
BSD |
|
|
|
9 |
28,698 |
BSD |
|
|
|
3 |
8,863 |
BSD |
|
|
|
0 |
3,116 |
What is on Your Mind? |
|
|
|
6 |
8,084 |
BSD |
|
|
|
0 |
6,386 |
BSD |
|
|
|
4 |
10,573 |
BSD |
|
|
|
0 |
12,469 |
BSD |
|
|
|
4 |
11,602 |
BSD |
|
|
|
3 |
11,351 |
BSD |
|
|
|
1 |
6,702 |
BSD |
|
|
|
7 |
4,025 |
Shell Programming and Scripting |
|
|
|
0 |
4,500 |
IP Networking |
|
|
|
4 |
2,721 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
14,282 |
BSD |
|
|
|
0 |
6,950 |
BSD |
|
|
|
2 |
13,236 |
BSD |
|
|
|
1 |
8,184 |
BSD |
|
|
|
1 |
13,652 |
BSD |
|
|
|
4 |
11,617 |
BSD |
|
|
|
4 |
9,450 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
18,206 |
BSD |
|
|
|
2 |
12,246 |
BSD |
|
|
|
3 |
9,198 |
BSD |
|
|
|
1 |
8,226 |
BSD |
|
|
|
2 |
17,995 |
BSD |
|
|
|
1 |
9,468 |
BSD |
|
|
|
0 |
6,091 |
Shell Programming and Scripting |
|
|
|
4 |
9,047 |
BSD |
|
|
|
6 |
4,686 |
Programming |
|
|
|
2 |
10,467 |
BSD |
|
|
|
3 |
9,152 |
BSD |
|
|
|
7 |
27,223 |
BSD |
|
|
|
2 |
16,705 |
BSD |
|
|
|
0 |
7,873 |
BSD |
CR_SEEOTHERUIDS(9) BSD Kernel Developer's Manual CR_SEEOTHERUIDS(9)
NAME
cr_seeotheruids -- determine visibility of objects given their user credentials
SYNOPSIS
int
cr_seeotheruids(struct ucred *u1, struct ucred *u2);
DESCRIPTION
This function determines the visibility of objects in the kernel based on the real user 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_uids. If this variable is non-zero then all objects
in the kernel are visible to each other irrespective of their user IDs. If this variable is zero then the object with credentials u2 is vis-
ible to the object with credentials u1 if either u1 is the super-user credential, or if u1 and u2 have the same real user ID.
SYSCTL VARIABLES
security.bsd.see_other_uids
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_seeothergids(9), p_candebug(9)
BSD
November 11, 2003 BSD