summaryrefslogtreecommitdiff
path: root/pam_pwdfile.c
diff options
context:
space:
mode:
authorPeter Palfrader <weasel@debian.org>2008-09-25 12:50:11 +0200
committerTimo Weingärtner <timo@tiwe.de>2012-11-08 08:21:42 +0100
commit40f13ce64b7e5f80dea6c7e165bb6163f3e32cae (patch)
tree85894f2e2753c4ae842ec4731ce7cb86ec5ed7e6 /pam_pwdfile.c
parent6b54c9a80f45d5ef85d4cf6c1bb5291670324932 (diff)
downloadlibpam-pwdfile-40f13ce64b7e5f80dea6c7e165bb6163f3e32cae.tar.gz
Imported Debian patch 0.99-3.1debian/0.99-3.1
Diffstat (limited to 'pam_pwdfile.c')
-rw-r--r--pam_pwdfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pam_pwdfile.c b/pam_pwdfile.c
index ec2bd96..be6e6ad 100644
--- a/pam_pwdfile.c
+++ b/pam_pwdfile.c
@@ -222,6 +222,7 @@ static int fgetpwnam(FILE *stream, const char *name, char *password) {
}
/* expected hook for auth service */
+__attribute__((visibility("default")))
PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags,
int argc, const char **argv) {
int retval, pcnt, pwdfilename_found;
@@ -408,6 +409,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags,
}
/* another expected hook */
+__attribute__((visibility("default")))
PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags,
int argc, const char **argv)
{