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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)