vishalmishra434 / rpms / openssh

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