search for: sshpam_oldsig

Displaying 1 result from an estimated 1 matches for "sshpam_oldsig".

2005 Jul 14
1
OpenSSH PAM "thread" buglet
...ch ((pid = fork())) { @@ -157,10 +158,14 @@ error("fork(): %s", strerror(errno)); return (-1); case 0: + close(ctx->pam_psock); + ctx->pam_psock = -1; thread_start(arg); _exit(1); default: *thread = pid; + close(ctx->pam_csock); + ctx->pam_csock = -1; sshpam_oldsig = signal(SIGCHLD, sshpam_sigchld_handler); return (0); }