Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cr_seeothergids(9) [freebsd 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

Check Out this Related 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
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. BSD

BSD, Bash and Shells?

When I use Mac OS X's Terminal the UI is some what easier than that of Linux... I this just a shell or something because using Bash is a pain in RH's Linux 9. It's so sensitive about case etc. ??? In that way what is the shell that OS X uses as it's default Bash is on OS X (OK Duh) and... (3 Replies)
Discussion started by: RedVenim
3 Replies

3. BSD

X-Windows Free BSD

so, i have a video card SIS s315 AGP and i can't cofigure X Free on free BSD to run X window. Anybody can help me solve this problem?? (2 Replies)
Discussion started by: Dmitri-br
2 Replies

4. BSD

I want the Best FREEBSD

B]I want the best of the best FreeBSD version for my study in Unix...please sugest me... Thanks (5 Replies)
Discussion started by: israel
5 Replies

5. UNIX for Dummies Questions & Answers

Unix OS

I have looked into it on the internet elsewhere, and I cannot find out how to get a computer to run "UNIX" besided linux or bsd. Is bsd usualy the kind of unix that people run? Can a pc run unix? If so, how do you get it? Thanks in advance. (3 Replies)
Discussion started by: schimpfinator
3 Replies

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

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

Internet connection with PC BSD

Hi friends! :) I have got an Acer laptop. in one of the partion's I have got PC BSD installed. I am new UNIX user coz first I was using Windows, so I am still learning it. I only know few commands, and I find it very interesting. Unfrtunately, when I log into PC BSD, I can't connect to the... (3 Replies)
Discussion started by: dubbio123
3 Replies

11. BSD

latest version of bsd

Any body there ? What is latest BSD version ? (4 Replies)
Discussion started by: chilaka
4 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

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

14. UNIX for Dummies Questions & Answers

New to Unix

Hello I am a new user on unix i am using free bsd right now i have been using windows for the last couple of years So i iam a bit lost here. I am actually in need of some help, so please could you help How do I manage my FTP servers, DNS server and HTTP server Thanks (6 Replies)
Discussion started by: Suriano10
6 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