06-05-2008
Invitation to BSD Forum Members
If you are a former member of the abandoned forums over at bsdforums.org, please feel free to suggest subforums for BSD here and we will add them, if you would like to be active here.
We have plenty of room for the BSD community here.
Welcome!
4 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
The Members Only Forum sub-heading has a spelling mistake. It should read visible. (1 Reply)
Discussion started by: dangral
1 Replies
2. Shell Programming and Scripting
The UNIX and Linux Forums have a number of active members that have published books or papers related to shell programming and scripting. You can check out their publications here:
Link Removed
Please note, as you can imagine, our forum experts can be quite busy! You will get a response... (0 Replies)
Discussion started by: Neo
0 Replies
3. What is on Your Mind?
Dear All,
Thank you for your support. As promised I have upgrade features for unix.com forum VIP members as follows:
Who's Online Permissions
Can View IP Addresses
Can View Detailed Location Info for Users
Can View Detailed Location Info of Users Who Visit Bad / No Permission... (0 Replies)
Discussion started by: Neo
0 Replies
4. What is on Your Mind?
Hi!
Any Spanish speaking forum members?
If so, please reply!
Thanks! (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
cr_cansee
CR_CANSEE(9) BSD Kernel Developer's Manual CR_CANSEE(9)
NAME
cr_cansee -- determine visibility of objects given their user credentials
SYNOPSIS
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ucred.h>
int
cr_cansee(struct ucred *u1, struct ucred *u2);
DESCRIPTION
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 asso-
ciated 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.
RETURN VALUES
This function returns zero if the object with credential u1 can ``see'' the object with credential u2, or ESRCH otherwise.
ERRORS
[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.
SEE ALSO
cr_seeothergids(9), cr_seeotheruids(9), mac(9), p_cansee(9)
BSD
November 19, 2006 BSD