These changes do two things:
1) add an internal abstraction layer for the dynamic
loading of modules.
2) adds support for Mac OS X's dyld dynamic
loader. (much was originally written by Luke
Howard)
The internal abstraction layer removes the linker
specific sections from the main PAM library code,
abstracting it all away into a separate .c file. This
cleans up the main library code, making it more
maintainable.
The original port of Linux-PAM to Mac OS X was
done by Luke Howard. This integrates his code a
little more cleanly, and allows the modules to build
as well as the libraries.
OS X port diffs.
Logged In: YES
user_id=37107
Thanks for this patch.
It appears to be incomplete. Specifically, it does not
include:
pam_dynamic.h
or,
pam_dynamic.c
I'm really trying to lock down 0.76 by the end of the month.
If you can
attach the stuff in the next day or so, I will try to
inlcude some/all of it in that release.
Cheers
Andrew
Logged In: YES
user_id=37107
note this bug report 491466 - which I'm closing in favor of
the present one.
Logged In: YES
user_id=27173
I'm adding the pam_dynamic.? and an updated diff to pam_handle.c.
Logged In: YES
user_id=37107
I've run out of will to put this in 0.76. I intend to put it
in 0.77 (which will hopefully not take quite so long to
ferment).
It is a straightforward change, but it does affect the core
libpam library, so I think I'd like to put it in early in
the next release.
Logged In: NO
have these patches been commited to the source?
David Williams
d_wllms@lanl.gov
New version of pam_dynamic.c that fixes a memory leak.
Logged In: YES
user_id=27173
I'm uploading a new version of pam_dynamic.c that has a one
line bug fix. This change has been shipping in OS X for 2
years now without complaint. It is well tested.
Logged In: YES
user_id=1142
I ported the patch to current CVS, untested on Mac OS X