Rechercher une page de manuel
prison_check.9freebsd
Langue: en
Version: 307655 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
prison_check - determine if two credentials belong to the same jailSYNOPSIS
In sys/jail.h Ft int Fn prison_check struct ucred *cred1 struct ucred *cred2DESCRIPTION
This function can be used to determine if the two credentials Fa cred1 and Fa cred2 belong to the same jail.RETURN VALUES
The Fn prison_check function returns Er ESRCH if Fa cred1 has been jailed, and Fa cred1 and Fa cred2 do not belong to the same jail. In all other cases, Fn prison_check returns zero.SEE ALSO
jail(2)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre