Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cr_cansee(9) [debian man page]

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

Check Out this Related Man Page

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
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem with the startup

I have installed free bsd, and it won't reboot on it. I got win on disk 1 and on disk 2 is free bsd. Is there an optoin tha do so u could choose betwen win or free bsd? Is there an option in the installation that maybe I have missed? (4 Replies)
Discussion started by: Mr.Rudiment
4 Replies

2. UNIX for Dummies Questions & Answers

time and date in os X help please

i'm new to the unix communtiy i have mac OS X runing the BSD kernel 4.5 that much i know of my friend use unix at work and @ home but he has free bsd and mandrake which does not apply to me tryed to access the terminal but he said can't get to the time and date lock out of it ..... my... (1 Reply)
Discussion started by: dercarcort
1 Replies

3. UNIX Desktop Questions & Answers

geforce 4 and Xwin in BSD

Has anyone had any luck in using a newer Geforce card in BSD? I dont really care about 3d accel as of now, just trying to get X up with a standard 1024x768 display would be nice :rolleyes: Never mind, just read on web that nvidea is planning on making drivers for fbsd now that the latest... (2 Replies)
Discussion started by: bsdjunkie
2 Replies

4. BSD

Bsd 4.9

I was wondering where I could buy the freeBSD powerpack suite for 4.7 or higher online. (1 Reply)
Discussion started by: vedder10
1 Replies

5. BSD

Please HELP this stupid lady!!

Hello to all. When you are finished laughing, could somebody PLEASE tell me how to completely uninstall the free bsd operating system from my other computer? My dear, dear Hungarian friend (who is a 'Unix-nut') installed it several months ago, and now that computer is sitting unused in a house with... (6 Replies)
Discussion started by: mrsbro
6 Replies

6. BSD

help mounting a phone!

hi, im completely new to bsd, but everything seems to work that bit better than under linux distros! im using pc-bsd, and need to get access to my sony ericsson k550i. i have a 2gig m2 card in it, and when the phone is switched off, it acts like a usb storage device apparently! it shows up in... (2 Replies)
Discussion started by: Fanny Zoddar
2 Replies

7. BSD

What exactly is BSD?

Yes, I know BSD stands for Berkley Software Distribution, but what is it? (6 Replies)
Discussion started by: Danny_10
6 Replies

8. BSD

How to create IP table at Free BSD

Now, I had installed free bsd at my office. Unfortunitely, Email server have been using Local PoP3 and SMTP to our ISP with outlook. but my unix firewall sever ( free bsd ) didn't allow these port ( 110 & 25 ). How can i create the IP table to pass at server. If u have any experience about obvious... (4 Replies)
Discussion started by: Ashraff Ali
4 Replies

9. BSD

installing free BSD

Hello friends. I am new to Unix although i am very flexible to any programming language. i was a window user. Now, no more. I have decided myself to switch to unix. Here is my problem: I burned the free BSD into my new RW CD's. I inserted the bootable manager first then, it was scanning and... (5 Replies)
Discussion started by: bonjour2006
5 Replies

10. BSD

latest version of bsd

Any body there ? What is latest BSD version ? (4 Replies)
Discussion started by: chilaka
4 Replies

11. BSD

BSD Kernel Source Code

Hi I need the BSD core (kernel) operating system Please let me download link I'm from Iran Please help me Thank you very much (1 Reply)
Discussion started by: sepadl71
1 Replies

12. Linux

Where Can I Find the ar Archiver BSD Variant

I've been trying to get my hands on the source for the BSD variant of the ar archiver, but have not been able to find it anywhere. Does anyone know where I can get it? (3 Replies)
Discussion started by: Deluge
3 Replies

13. BSD

Broadcom 4312 in BSD

Is there a way to configure Broadocom wifi 4312 in a bsd system, FreeBSD or OpenBSD. I will appreciate any kind of help. Thanks in advance (1 Reply)
Discussion started by: piukeman
1 Replies

14. BSD

Jumping from Solaris to BSD?

Hi all, I currently run an OpenSolaris (b134) server at home for share media between a few computers (all Macs at the moment). I use ZFS to mirror a couple of disks and have a couple of SMF manifests. My background is as a user of OS X and as a user of (Open)Solaris with formal training in... (7 Replies)
Discussion started by: forquare
7 Replies

15. BSD

How to install BSD?

Hello, How to install bsd in amd 64 bits how is bsd what it is used for? (6 Replies)
Discussion started by: Riteshkakkar
6 Replies