GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CR_SEEOTHERUIDS(9) FreeBSD Kernel Developer's Manual CR_SEEOTHERUIDS(9)

cr_seeotheruids
determine visibility of objects given their user credentials

int
cr_seeotheruids(struct ucred *u1, struct ucred *u2);

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 visible 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.

security.bsd.see_other_uids
Must be non-zero if objects with unprivileged credentials are to be able to see each other.

This function returns zero if the object with credential u1 can “see” the object with credential u2, or ESRCH otherwise.

cr_seeothergids(9), p_candebug(9)
November 11, 2003 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 9 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.