prison_check man page on FreeBSD

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

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

NAME
     prison_check — determine if two credentials belong to the same jail

SYNOPSIS
     #include <sys/jail.h>

     int
     prison_check(struct ucred *cred1, struct ucred *cred2);

DESCRIPTION
     This function can be used to determine if the two credentials cred1 and
     cred2 belong to the same jail.

RETURN VALUES
     The prison_check() function returns ESRCH if cred1 has been jailed, and
     cred1 and cred2 do not belong to the same jail.  In all other cases,
     prison_check() returns zero.

SEE ALSO
     jail(2)

BSD			       December 11, 2003			   BSD
[top]

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]
Tweet
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