Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-02-26 17:01:35 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-02-26 17:01:35 +0100
commit0d71e23175d417f3cda918cf93cf0fe4a3b809d2 (patch)
tree9bc64dd4e40b9750d24f3557a3079e2cbe1a6ce3 /core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch
parent9853b5edc060003475468a3831d70f6d98073891 (diff)
core/openssh: added seccomp fix from T2SDE (thanks Rene)
Diffstat (limited to 'core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch')
-rw-r--r--core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch b/core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch
new file mode 100644
index 00000000..94776548
--- /dev/null
+++ b/core/openssh/openssh-8.4p1-sandbox-seccomp-pselect6_time64.patch
@@ -0,0 +1,13 @@
+diff -rauN openssh-8.4p1/sandbox-seccomp-filter.c openssh-8.4p1-sandbox-seccomp-pselect6_time64-patch/sandbox-seccomp-filter.c
+--- openssh-8.4p1/sandbox-seccomp-filter.c 2020-09-27 09:25:01.000000000 +0200
++++ openssh-8.4p1-sandbox-seccomp-pselect6_time64-patch/sandbox-seccomp-filter.c 2021-02-26 16:57:02.857964436 +0100
+@@ -267,6 +267,9 @@
+ #ifdef __NR_pselect6
+ SC_ALLOW(__NR_pselect6),
+ #endif
++#ifdef __NR_pselect6_time64
++ SC_ALLOW(__NR_pselect6_time64),
++#endif
+ #ifdef __NR_read
+ SC_ALLOW(__NR_read),
+ #endif