|
NAMEprison_check —
determine if two credentials belong to the same jail
SYNOPSIS#include <sys/jail.h>
int
DESCRIPTIONThis function can be used to determine if the two credentials cred1 and cred2 belong to the same jail.RETURN VALUESTheprison_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)
Visit the GSP FreeBSD Man Page Interface. |