openpam_restore_cred3
Restore credentials
Usage
#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>
int
openpam_restore_cred(pam_handle_t *pamh);
Overview
The openpam_restore_cred() function restores the credentials saved by openpam_borrow_cred(3).
Return values
The openpam_restore_cred() function returns one of the following values:
- [PAM_SUCCESS]
-
Success.
- [PAM_NO_MODULE_DATA]
-
Module data not found.
- [PAM_SYSTEM_ERR]
-
System error.
Releases
56 releases since FreeBSD 5.0-RELEASE; the text changed 15 times.