From 4cec036362a358e398e6a2e6d19d8e5780558634 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 23 Aug 2014 03:11:09 +1000 Subject: - (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on lastlog writing on platforms with high UIDs; bz#2263 --- ChangeLog | 4 ++++ sshd.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index d69e08ff..9478859a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20140823 + - (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on + lastlog writing on platforms with high UIDs; bz#2263 + 20140822 - (djm) [configure.ac] include leading zero characters in OpenSSL version number; fixes test for unsupported versions diff --git a/sshd.c b/sshd.c index 481d0015..834240d3 100644 --- a/sshd.c +++ b/sshd.c @@ -647,6 +647,10 @@ privsep_preauth_child(void) fatal("setgroups: %.100s", strerror(errno)); permanently_set_uid(privsep_pw); #endif + +#ifdef SIGXFSZ + signal(SIGXFSZ, SIG_IGN); +#endif } static int -- cgit v1.2.1