mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
prevent hanging during PAM keyboard-interactive authentications. ok djm@
This commit is contained in:
parent
4b385d4bc0
commit
b9b6021667
@ -1,6 +1,8 @@
|
|||||||
20040304
|
20040304
|
||||||
- (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
|
- (dtucker) [auth-pam.c] Don't try to export PAM when compiled with
|
||||||
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
|
-DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@
|
||||||
|
- (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread,
|
||||||
|
prevent hanging during PAM keyboard-interactive authentications. ok djm@
|
||||||
|
|
||||||
20040303
|
20040303
|
||||||
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
|
- (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent
|
||||||
@ -849,4 +851,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3274 2004/03/04 08:54:10 dtucker Exp $
|
$Id: ChangeLog,v 1.3275 2004/03/04 09:03:54 dtucker Exp $
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
|
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$Id: auth-pam.c,v 1.96 2004/03/04 08:54:10 dtucker Exp $");
|
RCSID("$Id: auth-pam.c,v 1.97 2004/03/04 09:03:54 dtucker Exp $");
|
||||||
|
|
||||||
#ifdef USE_PAM
|
#ifdef USE_PAM
|
||||||
#if defined(HAVE_SECURITY_PAM_APPL_H)
|
#if defined(HAVE_SECURITY_PAM_APPL_H)
|
||||||
@ -117,6 +117,7 @@ pthread_create(sp_pthread_t *thread, const void *attr __unused,
|
|||||||
{
|
{
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
|
|
||||||
|
sshpam_thread_status = -1;
|
||||||
switch ((pid = fork())) {
|
switch ((pid = fork())) {
|
||||||
case -1:
|
case -1:
|
||||||
error("fork(): %s", strerror(errno));
|
error("fork(): %s", strerror(errno));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user