| OPENPAM_GET_FEATURE(3) | Library Functions Manual | OPENPAM_GET_FEATURE(3) |
openpam_get_feature —
query the state of an optional feature
#include
<sys/types.h>
#include <security/pam_appl.h>
#include
<security/openpam.h>
int
openpam_get_feature(int
feature, int
*onoff);
The
openpam_get_feature()
function stores the current state of the specified feature in the variable
pointed to by its onoff argument.
The following features are recognized:
OPENPAM_RESTRICT_SERVICE_NAMEOPENPAM_VERIFY_POLICY_FILEOPENPAM_RESTRICT_MODULE_NAMEOPENPAM_VERIFY_MODULE_FILEThe openpam_get_feature() function returns
one of the following values:
PAM_SUCCESS]PAM_BAD_FEATURE]The openpam_get_feature() function is an
OpenPAM extension.
The openpam_get_feature() function and
this manual page were developed by Dag-Erling
Smørgrav
<des@des.no>.
| June 27, 2023 | NetBSD 11.0 |