lördag den 6 april 2013 klockan 10:31 skrev Russ Allbery detta: > Mats Erik Andersson <g...@gisladisker.se> writes: > > > #ifdef PAM_STATIC > > > > struct pam_module _pam_shishi_modstruct = { > > PAM_STATIC and this _modstruct stuff is not specific to Linux-PAM; it's
Well, FreeBSD 8.2 and 9.0 do not come any closer to "PAM_STATIC" than OPENPAM_STATIC_MODULES does, which on the other hand is the crucial macro in <security/openpam.h> for altering linking. Perhaps a pre-OpenPAM stage of FreeBSD checked on PAM_STATIC. > also used by FreeBSD PAM. However, the correct way to instantiate it on > FreeBSD is: > > #ifdef PAM_MODULE_ENTRY > PAM_MODULE_ENTRY("pam_shishi"); > #endif The presence of PAM_MODULE_ENTRY is affirmed! Regards, Mats E A _______________________________________________ Help-shishi mailing list Help-shishi@gnu.org https://lists.gnu.org/mailman/listinfo/help-shishi