Query: prison_check
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PRISON_CHECK(9) BSD Kernel Developer's Manual PRISON_CHECK(9)NAMEprison_check -- determine if two credentials belong to the same jailSYNOPSIS#include <sys/jail.h> int prison_check(struct ucred *cred1, struct ucred *cred2);DESCRIPTIONThis function can be used to determine if the two credentials cred1 and cred2 belong to the same jail.RETURN VALUESThe 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 ALSOjail(2)BSDDecember 11, 2003 BSD
| Related Man Pages |
|---|
| p_cansee(9) - debian |
| p_candebug(9) - debian |
| cr_cansee(9) - freebsd |
| p_candebug(9) - linux |
| cr_cansee(9) - linux |
| Similar Topics in the Unix Linux Community |
|---|
| How can I do this in VI editor? |
| Introduction |
| Detecting unused variables... |
| A (ksh) Library For and From UNIX.com |
| New UNIX and Linux History Sections |