Re: PAM and the pwd.h interface

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

 



On Tue, 26 Jun 2001, Chris Jaeger wrote:

> Andrew Morgan wrote:
> >
> > I think I'd like to see an autoconf test for this, and something to
> > ensure that any module that uses it can fall back to the non _r function
> > if its not available at compile time.
> >
> 	Agreed.

> > I'd also draw your attention to this:
> >
> > http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam_appl-4.html#ss4.1

> 	Yes, I am aware of this. However, as I am dealing with several
> applications that may suffer from this problem, and I have had some
> difficulty contacting maintainers, I would prefer to solve it in fewer
> patches if possible.

It's reasonable for pam_unix to use the reentrant interface where possible,
but pam_unix is also targetted for non-Linux OSes that may or may not have
getpwnam_r().  As such, it's important to have an autoconf check for this
feature before making pam_unix depend on it.

Steve Langasek
psotmodern programmer





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux