OPENPAM_GET_FEATURE(3) | Library Functions Manual | OPENPAM_GET_FEATURE(3) |
openpam_get_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_NAME
OPENPAM_VERIFY_POLICY_FILE
OPENPAM_RESTRICT_MODULE_NAME
OPENPAM_VERIFY_MODULE_FILE
openpam_get_feature
() function returns one of the
following values:
PAM_SUCCESS
]PAM_BAD_FEATURE
]openpam_get_feature
() function is an OpenPAM
extension.
openpam_get_feature
() function and this manual page
were developed by Dag-Erling Smørgrav
<des@des.no>.
April 30, 2017 | NetBSD 9.0 |