diff options
author | djm <djm> | 2014-08-26 18:11:55 +0000 |
---|---|---|
committer | djm <djm> | 2014-08-26 18:11:55 +0000 |
commit | 176c997777f1d38d0bc53fee9d154d452615ab82 (patch) | |
tree | f4bd0a4a2bebc18f5b7488709a0767705e8da639 | |
parent | a4187a335ca0d550b61bc537c4112521f09590fc (diff) | |
download | openssh-176c997777f1d38d0bc53fee9d154d452615ab82.tar.gz |
- (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth
monitor, not preauth; bz#2263
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | monitor.c | 3 | ||||
-rw-r--r-- | sshd.c | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -6,6 +6,8 @@ [regress/unittests/sshkey/test_fuzz.c] [regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h on !ECC OpenSSL systems + - (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth + monitor, not preauth; bz#2263 20140825 - (djm) [bufec.c] Skip this file on !ECC OpenSSL @@ -471,6 +471,9 @@ monitor_child_postauth(struct monitor *pmonitor) signal(SIGHUP, &monitor_child_handler); signal(SIGTERM, &monitor_child_handler); signal(SIGINT, &monitor_child_handler); +#ifdef SIGXFSZ + signal(SIGXFSZ, SIG_IGN); +#endif if (compat20) { mon_dispatch = mon_dispatch_postauth20; @@ -647,10 +647,6 @@ privsep_preauth_child(void) fatal("setgroups: %.100s", strerror(errno)); permanently_set_uid(privsep_pw); #endif - -#ifdef SIGXFSZ - signal(SIGXFSZ, SIG_IGN); -#endif } static int |