Lines 553-558
int pam_sm_close_session(pam_handle_t *
Link Here
|
553 |
} |
553 |
} |
554 |
|
554 |
|
555 |
#ifdef PAM_STATIC |
555 |
#ifdef PAM_STATIC |
|
|
556 |
#define pam_sm_acct_mgmt pam_sm_open_session |
557 |
#elif defined(__linux__) && defined(__ELF__) |
558 |
__asm__(".globl pam_sm_acct_mgmt; pam_sm_acct_mgmt = pam_sm_open_session"); |
559 |
#else |
560 |
PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, |
561 |
int argc, const char **argv) |
562 |
{ |
563 |
return pam_sm_open_session(pamh, flags, argc, argv); |
564 |
} |
565 |
#endif |
566 |
|
567 |
#ifdef PAM_STATIC |
556 |
|
568 |
|
557 |
/* static module data */ |
569 |
/* static module data */ |
558 |
struct pam_module _pam_mkhomedir_modstruct = |
570 |
struct pam_module _pam_mkhomedir_modstruct = |
Lines 560-566
struct pam_module _pam_mkhomedir_modstru
Link Here
|
560 |
"pam_mkhomedir", |
572 |
"pam_mkhomedir", |
561 |
NULL, |
573 |
NULL, |
562 |
NULL, |
574 |
NULL, |
563 |
NULL, |
575 |
pam_sm_acct_mgmt, |
564 |
pam_sm_open_session, |
576 |
pam_sm_open_session, |
565 |
pam_sm_close_session, |
577 |
pam_sm_close_session, |
566 |
NULL, |
578 |
NULL, |