prison_check(9) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

prison_check(9)

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
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3