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

Re: linking of pam modules



Andrew G. Morgan wrote:
> 
> Andrew Pimlott wrote:
> >
> > gcc -shared -Xlinker -x -o pam_securetty.so dynamic/pam_securetty.o -lpam
> >
> > When I did this, my program worked without a hitch.  (This was tested only
> > on a linux 2.0.30, RHL 4.2 system.)
> >
> > Can this be changed in the PAM distribution?  Or is there a good reason
> > for the current behavior?  (An education on dynamic loading would satisfy
> > me almost as much as getting my program working.)
> >
> > Thanks,
> > Andrew
> 
> Good suggestion.  Will do.

Hmm. Does such kind of linking means that each PAM module will has its
own
copy of functions from libpam? And if a stack of modules has 10 ones
then
10+1 copies of libpam will be in the memory?

> 
> Cheers
> 
> Andrew
> --
>                Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
>                   http://parc.power.net/morgan/index.html
> 
> --
> To unsubscribe: mail -s unsubscribe pam-list-request@redhat.com < /dev/null



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