rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/openssh-6.6.1p1-ignore-SIGXFSZ-in-postauth.patch

017ff1
diff --git a/ChangeLog b/ChangeLog
017ff1
index 3887495..a4dc72f 100644
017ff1
--- a/ChangeLog
017ff1
+++ b/ChangeLog
017ff1
@@ -1,3 +1,9 @@
017ff1
+20140823
017ff1
+ - (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on
017ff1
+   lastlog writing on platforms with high UIDs; bz#2263
017ff1
+ - (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth
017ff1
+   monitor, not preauth; bz#2263
017ff1
+
017ff1
 20140703
017ff1
  - OpenBSD CVS Sync
017ff1
    - djm@cvs.openbsd.org 2014/07/03 03:34:09
017ff1
diff --git a/monitor.c b/monitor.c
017ff1
index bdabe21..5a65114 100644
017ff1
--- a/monitor.c
017ff1
+++ b/monitor.c
017ff1
@@ -501,6 +501,9 @@ monitor_child_postauth(struct monitor *pmonitor)
017ff1
 	signal(SIGHUP, &monitor_child_handler);
017ff1
 	signal(SIGTERM, &monitor_child_handler);
017ff1
 	signal(SIGINT, &monitor_child_handler);
017ff1
+#ifdef SIGXFSZ
017ff1
+	signal(SIGXFSZ, SIG_IGN);
017ff1
+#endif
017ff1
 
017ff1
 	if (compat20) {
017ff1
 		mon_dispatch = mon_dispatch_postauth20;