table of contents
- bookworm 1.5.2-6+deb12u1
- testing 1.5.3-7+b1
- unstable 1.5.3-7+b1
- experimental 1.7.0-1
PAM_GET_DATA(3) | Linux-PAM Manual | PAM_GET_DATA(3) |
NAME¶
pam_get_data - get module internal data
SYNOPSIS¶
#include <security/pam_modules.h>
int pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void **data);
DESCRIPTION¶
This function together with the pam_set_data(3) function is useful to manage module-specific data meaningful only to the calling PAM module.
The pam_get_data function looks up the object associated with the (hopefully) unique string module_data_name in the PAM context specified by the pamh argument. A successful call to pam_get_data will result in data pointing to the object. Note, this data is not a copy and should be treated as constant by the module.
RETURN VALUES¶
PAM_SUCCESS
PAM_SYSTEM_ERR
PAM_NO_MODULE_DATA
SEE ALSO¶
01/16/2025 | Linux-PAM |