22 lines
610 B
Diff
22 lines
610 B
Diff
# HG changeset patch
|
|
# Parent 5034ae16f6a5c9c7151d931dc1cce2a541fe010e
|
|
Allow the stat() syscall for OpenSSL re-seed patch
|
|
(which causes OpenSSL use stat() on some file)
|
|
|
|
bnc#912436
|
|
|
|
Index: openssh-8.8p1/sandbox-seccomp-filter.c
|
|
===================================================================
|
|
--- openssh-8.8p1.orig/sandbox-seccomp-filter.c
|
|
+++ openssh-8.8p1/sandbox-seccomp-filter.c
|
|
@@ -294,6 +294,9 @@ static const struct sock_filter preauth_
|
|
#ifdef __NR_sigprocmask
|
|
SC_ALLOW(__NR_sigprocmask),
|
|
#endif
|
|
+#ifdef __NR_stat
|
|
+ SC_ALLOW(__NR_stat),
|
|
+#endif
|
|
#ifdef __NR_time
|
|
SC_ALLOW(__NR_time),
|
|
#endif
|