Antonio Larrosa
45f6d17800
package existed for a brief period of time during SLE 15 SP6/ Leap 15.6 development but even if it was removed from the repositories before GM, some users might have it in their systems from having tried a beta/RC release (boo#1227350). quoting was present in the user-supplied ssh_config(5) directive (bsc#1218215, CVE-2023-51385). OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=270
26 lines
844 B
Diff
26 lines
844 B
Diff
From b110cefdfbf5a20f49b774a55062d6ded2fb6e22 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Tue, 7 Jan 2020 16:26:45 -0800
|
|
Subject: [PATCH] seccomp: Allow clock_gettime64() in sandbox.
|
|
|
|
This helps sshd accept connections on mips platforms with
|
|
upcoming glibc ( 2.31 )
|
|
---
|
|
sandbox-seccomp-filter.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: openssh-8.8p1/sandbox-seccomp-filter.c
|
|
===================================================================
|
|
--- openssh-8.8p1.orig/sandbox-seccomp-filter.c
|
|
+++ openssh-8.8p1/sandbox-seccomp-filter.c
|
|
@@ -279,6 +279,9 @@ static const struct sock_filter preauth_
|
|
#ifdef __NR_clock_nanosleep_time64
|
|
SC_ALLOW(__NR_clock_nanosleep_time64),
|
|
#endif
|
|
+#ifdef __NR_clock_gettime64
|
|
+ SC_ALLOW(__NR_clock_gettime64),
|
|
+#endif
|
|
#ifdef __NR__newselect
|
|
SC_ALLOW(__NR__newselect),
|
|
#endif
|