blob: 7de772777107a5d6c1c962fde83bf6ca73225e6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -u a/openssh-9.7p1+x509-15.0.diff b/openssh-9.7p1+x509-15.0.diff
--- a/openssh-9.7p1+x509-15.0.diff 2024-07-02 08:34:12.300470515 -0700
+++ b/openssh-9.7p1+x509-15.0.diff 2024-07-02 08:35:27.016991183 -0700
@@ -69916,7 +69916,7 @@
closelog();
#endif
}
-@@ -424,81 +473,121 @@
+@@ -424,81 +473,113 @@
}
void
@@ -69955,15 +69955,7 @@
+sshsigdie(const char *file, const char *func, int line,
+ const char *fmt,...)
{
-+#if 1
-+/* NOTE: "OpenSSH bug 3286". See grace_alarm_handler() in sshd.c.
-+ * Logging in signal handler cannot be considered as safe.
-+ * Let enable log as now daemon does not sent explicitly alarm
-+ * signal. This should avoid logging in child signal handler.
-+ */
-+# define DO_LOG_SAFE_IN_SIGHAND
-+#endif
-+#ifdef DO_LOG_SAFE_IN_SIGHAND
++#ifdef SYSLOG_R_SAFE_IN_SIGHAND
va_list args;
va_start(args, fmt);
|