summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authordjm <djm>2014-08-22 17:11:09 +0000
committerdjm <djm>2014-08-22 17:11:09 +0000
commitfdb01ebc9fcb1a08214b47cde9e1d6266ec83c50 (patch)
treede10d6aed95b307db9ed325fb7891e15c9a6d1ab /sshd.c
parent5b5d20c099a5a231599d550241371f9a8a444882 (diff)
downloadopenssh-fdb01ebc9fcb1a08214b47cde9e1d6266ec83c50.tar.gz
- (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on
lastlog writing on platforms with high UIDs; bz#2263
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 4 insertions, 0 deletions
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