summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-27 04:11:55 +1000
committerDamien Miller <djm@mindrot.org>2014-08-27 04:11:55 +1000
commit146218ac11a1eb0dcade6f793d7acdef163b5ddc (patch)
tree12ce651173bcc56b6ebc7ac3caf4c9fb9a56f2ab /monitor.c
parent1b215c098b3b37e38aa4e4c91bb908eee41183b1 (diff)
- (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth
monitor, not preauth; bz#2263
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 72d71c4d3..dbe29f128 100644
--- a/monitor.c
+++ b/monitor.c
@@ -471,6 +471,9 @@ monitor_child_postauth(struct monitor *pmonitor)
471 signal(SIGHUP, &monitor_child_handler); 471 signal(SIGHUP, &monitor_child_handler);
472 signal(SIGTERM, &monitor_child_handler); 472 signal(SIGTERM, &monitor_child_handler);
473 signal(SIGINT, &monitor_child_handler); 473 signal(SIGINT, &monitor_child_handler);
474#ifdef SIGXFSZ
475 signal(SIGXFSZ, SIG_IGN);
476#endif
474 477
475 if (compat20) { 478 if (compat20) {
476 mon_dispatch = mon_dispatch_postauth20; 479 mon_dispatch = mon_dispatch_postauth20;