On Sat, May 3, 2008 at 8:17 AM, Eric Dorland <[EMAIL PROTECTED]> wrote: > * Ludovic Rousseau ([EMAIL PROTECTED]) wrote: > > On Sat, Apr 26, 2008 at 7:22 AM, Eric Dorland <[EMAIL PROTECTED]> wrote: > > > Hello opensc type persons, > > > > Hello Eric, > > > > > A Debian user has discovered a bug in pam_p11. It uses the syslog > > > family of functions instead of pam_syslog, which causes segfaults in > > > some situations. Please apply the attached patch! > > > > Nice patch. > > > > The problem is that security/pam_ext.h is not available in > > libpam0g-dev (version 0.79-5) on Debian Etch (stable). So I guess this > > header file will also not be present in other Linux stable > > distributions. > > Oh that's a pain. > > > > Should we restrict the use of pam_p11 only to systems with "recent" > > libpam versions? > > If pam_syslog isn't available, you should probably just use syslog > directly, and not call openlog and closelog directly (the manpage says > they're optional anyway). I could probably hack some autoconf and > macros to make this easy if you're interested.
I added a autoconf test for security/pam_ext.h Patch (modified) applied in revision 41 http://www.opensc-project.org/pam_p11/changeset/41 Thanks -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel