|
̾??suser , suser_cred —
???????????ѥ桼???θ??¤????äƤ??뤫?ɤ????Υ????å?
????<sys/param.h>
<sys/systm.h>
int suser (struct
thread *td) int
suser_cred (struct ucred *cred,
int flag)
????suser () ?????? suser_cred ()
?ؿ??ϡ??????ѥ桼???θ??¤??ޤ???????Ϳ???????Ƥ??뤫?ɤ??????????å????ޤ???
?ǥե????ȤǤϡ?
jail(2)
?????ƥॳ?????ˤ??ä??Ĥ??????????Ƥ????????ˤϡ?
?ץ??????ϥ????ѥ桼???θ??¤??????ޤ?????
???????ʤ??顢???줬Ŭ?ڤʾ??礬???ꡢ
?ǥե????ȤǤϡ??????å????????????ϼ¸??桼???Ǥ???
???????˼ºݤΥ桼?????????å?????ɬ?פ?????????
(?㤨?С?
????????ߥåȤ?Ŭ?Ѥ??줿?????η????ΤȤ?)
???????ޤ??? ?????ơ???????
??????suser () ?????? suser_cred ()
?ؿ??ϡ????Υ桼?????????ѥ桼???θ??¤????äƤ????????ˤ?
0 ???֤??? ?????Ǥʤ??????ˤ?
EPERM ???֤??ޤ??? ?????ϡ?TRUE
?α??????????ѥ桼?????¤????Ĥ??Ȥ??褦??¾?μ????Ȥ?
?դ?????
?ˤʤäƤ??ޤ??? TRUE ?α?????
suser ()
?ϥ????ѥ桼???θ??¤??ޤ???
??Ϣ????chroot(2), jail(2)?Х?suser () ?????? suser_cred ()
?ؿ??ϻ??¾??? 2000 ǯ?? 8 ??顢
?????ѥ桼?????ø??????Ѥ??줿???Ȥ????Ӥ????ʤ??ä????Ȥ???Ͽ???ޤ?????
Visit the GSP FreeBSD Man Page Interface. |