diff options
Diffstat (limited to 'pam_pwdfile.c')
-rw-r--r-- | pam_pwdfile.c | 2 |
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) { |