cr_cansee man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

CR_CANSEE(9)		 BSD Kernel Developer's Manual		  CR_CANSEE(9)

     cr_cansee — determine visibility of objects given their user credentials

     #include <sys/param.h>
     #include <sys/systm.h>
     #include <sys/ucred.h>

     cr_cansee(struct ucred *u1, struct ucred *u2);

     This function determines the visibility of objects in the kernel based on
     the real user IDs and group IDs in the credentials u1 and u2 associated
     with them.

     The visibility of objects is influenced by the sysctl(8) variables
     security.bsd.see_other_gids and security.bsd.see_other_uids, as per the
     description in cr_seeothergids(9) and cr_seeotheruids(9) respectively.

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

     [ESRCH]		The object with credential u1 cannot “see” the object
			with credential u2.

     [ESRCH]		The object with credential u1 has been jailed and the
			object with credential u2 does not belong to the same
			jail as u1.

     [ESRCH]		The MAC subsystem denied visibility.

     cr_seeothergids(9), cr_seeotheruids(9), mac(9), p_cansee(9)

BSD			       November 19, 2006			   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net