xref: /freebsd/contrib/openpam/doc/man/openpam_restore_cred.3 (revision 3ba4c8c81a28de3e00ccf6d7f92c6f8e58bef456)
1ce77a8d6SDag-Erling Smørgrav.\" Generated from openpam_restore_cred.c by gendoc.pl
2*3ba4c8c8SDag-Erling Smørgrav.Dd June 27, 2023
393889be5SDag-Erling Smørgrav.Dt OPENPAM_RESTORE_CRED 3
493889be5SDag-Erling Smørgrav.Os
593889be5SDag-Erling Smørgrav.Sh NAME
693889be5SDag-Erling Smørgrav.Nm openpam_restore_cred
793889be5SDag-Erling Smørgrav.Nd restore credentials
893889be5SDag-Erling Smørgrav.Sh SYNOPSIS
9644f2b7cSDag-Erling Smørgrav.In sys/types.h
1093889be5SDag-Erling Smørgrav.In security/pam_appl.h
11ac7e3b9dSDag-Erling Smørgrav.In security/openpam.h
12ca236e63SDag-Erling Smørgrav.Ft "int"
1393889be5SDag-Erling Smørgrav.Fn openpam_restore_cred "pam_handle_t *pamh"
1493889be5SDag-Erling Smørgrav.Sh DESCRIPTION
1593889be5SDag-Erling SmørgravThe
162f3ed619SDag-Erling Smørgrav.Fn openpam_restore_cred
1793889be5SDag-Erling Smørgravfunction restores the credentials saved by
1893889be5SDag-Erling Smørgrav.Xr openpam_borrow_cred 3 .
1993889be5SDag-Erling Smørgrav.Pp
2093889be5SDag-Erling Smørgrav.Sh RETURN VALUES
2193889be5SDag-Erling SmørgravThe
222f3ed619SDag-Erling Smørgrav.Fn openpam_restore_cred
2393889be5SDag-Erling Smørgravfunction returns one of the following values:
2493889be5SDag-Erling Smørgrav.Bl -tag -width 18n
2549e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS
2649e56509SDag-Erling SmørgravSuccess.
2793889be5SDag-Erling Smørgrav.It Bq Er PAM_NO_MODULE_DATA
2893889be5SDag-Erling SmørgravModule data not found.
2993889be5SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR
3093889be5SDag-Erling SmørgravSystem error.
3193889be5SDag-Erling Smørgrav.El
3293889be5SDag-Erling Smørgrav.Sh SEE ALSO
33b33ab329SDag-Erling Smørgrav.Xr setegid 2 ,
34b33ab329SDag-Erling Smørgrav.Xr seteuid 2 ,
35b33ab329SDag-Erling Smørgrav.Xr setgroups 2 ,
3693889be5SDag-Erling Smørgrav.Xr openpam_borrow_cred 3 ,
3793889be5SDag-Erling Smørgrav.Xr pam 3 ,
38b33ab329SDag-Erling Smørgrav.Xr pam_strerror 3
3993889be5SDag-Erling Smørgrav.Sh STANDARDS
4093889be5SDag-Erling SmørgravThe
412f3ed619SDag-Erling Smørgrav.Fn openpam_restore_cred
4293889be5SDag-Erling Smørgravfunction is an OpenPAM extension.
4393889be5SDag-Erling Smørgrav.Sh AUTHORS
4493889be5SDag-Erling SmørgravThe
452f3ed619SDag-Erling Smørgrav.Fn openpam_restore_cred
462f3ed619SDag-Erling Smørgravfunction and this manual page were
472f3ed619SDag-Erling Smørgravdeveloped for the
48ca236e63SDag-Erling Smørgrav.Fx
492f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the
509bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under
51ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035
5293889be5SDag-Erling Smørgrav.Pq Dq CBOSS ,
5393889be5SDag-Erling Smørgravas part of the DARPA CHATS research program.
54ce77a8d6SDag-Erling Smørgrav.Pp
55ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by
56f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
57