Copyright (c) 2003 Joseph Koshy <jkoshy@FreeBSD.org>
All rights reserved.
This program is free software.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the fol...
(The comments found at the beginning of the groff file "man9/prison_check.9freebsd".)
- determine if two credentials belong to the same jail
Fn prison_check struct ucred *cred1 struct ucred *cred2
This function can be used to determine if the two credentials
belong to the same jail.
has been jailed, and
do not belong to the same jail.
In all other cases,