mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-25 23:05:21 +02:00
- (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth
monitor, not preauth; bz#2263
This commit is contained in:
parent
1b215c098b
commit
146218ac11
@ -6,6 +6,8 @@
|
|||||||
[regress/unittests/sshkey/test_fuzz.c]
|
[regress/unittests/sshkey/test_fuzz.c]
|
||||||
[regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h
|
[regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h
|
||||||
on !ECC OpenSSL systems
|
on !ECC OpenSSL systems
|
||||||
|
- (djm) [monitor.c sshd.c] SIGXFSZ needs to be ignored in postauth
|
||||||
|
monitor, not preauth; bz#2263
|
||||||
|
|
||||||
20140825
|
20140825
|
||||||
- (djm) [bufec.c] Skip this file on !ECC OpenSSL
|
- (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(SIGHUP, &monitor_child_handler);
|
||||||
signal(SIGTERM, &monitor_child_handler);
|
signal(SIGTERM, &monitor_child_handler);
|
||||||
signal(SIGINT, &monitor_child_handler);
|
signal(SIGINT, &monitor_child_handler);
|
||||||
|
#ifdef SIGXFSZ
|
||||||
|
signal(SIGXFSZ, SIG_IGN);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (compat20) {
|
if (compat20) {
|
||||||
mon_dispatch = mon_dispatch_postauth20;
|
mon_dispatch = mon_dispatch_postauth20;
|
||||||
|
4
sshd.c
4
sshd.c
@ -647,10 +647,6 @@ privsep_preauth_child(void)
|
|||||||
fatal("setgroups: %.100s", strerror(errno));
|
fatal("setgroups: %.100s", strerror(errno));
|
||||||
permanently_set_uid(privsep_pw);
|
permanently_set_uid(privsep_pw);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SIGXFSZ
|
|
||||||
signal(SIGXFSZ, SIG_IGN);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user