summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/lib/openpam_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openpam/lib/openpam_load.c')
-rw-r--r--contrib/openpam/lib/openpam_load.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/openpam/lib/openpam_load.c b/contrib/openpam/lib/openpam_load.c
index 717906f..ef68309 100644
--- a/contrib/openpam/lib/openpam_load.c
+++ b/contrib/openpam/lib/openpam_load.c
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/lib/openpam_load.c#14 $
+ * $P4: //depot/projects/openpam/lib/openpam_load.c#15 $
*/
#include <dlfcn.h>
@@ -42,6 +42,15 @@
#include "openpam_impl.h"
+const char *_pam_func_name[PAM_NUM_PRIMITIVES] = {
+ "pam_authenticate",
+ "pam_setcred",
+ "pam_acct_mgmt",
+ "pam_open_session",
+ "pam_close_session",
+ "pam_chauthtok"
+};
+
const char *_pam_sm_func_name[PAM_NUM_PRIMITIVES] = {
"pam_sm_authenticate",
"pam_sm_setcred",
OpenPOWER on IntegriCloud