help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On non-PIC PAM module for OpenSolaris.


From: Mats Erik Andersson
Subject: Re: On non-PIC PAM module for OpenSolaris.
Date: Sat, 6 Apr 2013 19:53:20 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

lördag den  6 april 2013 klockan 10:31 skrev Russ Allbery detta:
> Mats Erik Andersson <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]