Subject: Re: bin/33128: when login in on the console, SIGABRT is ignored
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: dieter roelants <dieter.NetBSD@pandora.be>
List: netbsd-bugs
Date: 03/22/2006 11:05:03
The following reply was made to PR bin/33128; it has been noted by GNATS.
From: dieter roelants <dieter.NetBSD@pandora.be>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/33128: when login in on the console, SIGABRT is ignored
Date: Wed, 22 Mar 2006 12:03:46 +0100
On 03/22/06 10:17:03, SODA Noriyuki wrote:
> I observed same symptom on NetBSD-3.0/i386, i.e. I could get core
> dump
> on ssh, but couldn't on the console.
> My ssh is configured to use PAM ("UsePam yes" in sshd_config),
> though.
... but configuring it to have "UseLogin yes" (and "UsePam no") makes =20
the signal being ignored.
Is the following correct?
--- usr.bin/login/login_pam.c 19 Mar 2006 22:52:01 -0000 1.15
+++ usr.bin/login/login_pam.c 22 Mar 2006 11:00:16 -0000
@@ -550,6 +550,7 @@
break;
case 0: /* Child */
+ signal(SIGABRT, oabrt);
break;
default:
dieter