Date: Sat, 14 Dec 2002 05:52:39 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssh auth-pam.h auth2-pam-freebsd.c Message-ID: <200212141352.gBEDqd6l001999@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2002/12/14 05:52:39 PST
Modified files:
crypto/openssh auth-pam.h auth2-pam-freebsd.c
Log:
If possible, use pthreads instead of a child process for PAM.
Reimplement the necessary bits from auth_pam.c and auth2_pam.c so that
they share the PAM context used by the keyboard-interactive thread. If
a child process is used instead, they will (necessarily) use a separate
context.
Constify do_pam_account() and do_pam_session().
Sponsored by: DARPA, NAI Labs
Revision Changes Path
1.6 +2 -2 src/crypto/openssh/auth-pam.h
1.7 +332 -63 src/crypto/openssh/auth2-pam-freebsd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212141352.gBEDqd6l001999>
