diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/0001-seccomp-Allow-clock_gettime64-in-sandbox.patch')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/0001-seccomp-Allow-clock_gettime64-in-sandbox.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/0001-seccomp-Allow-clock_gettime64-in-sandbox.patch b/meta/recipes-connectivity/openssh/openssh/0001-seccomp-Allow-clock_gettime64-in-sandbox.patch deleted file mode 100644 index 78c493de86..0000000000 --- a/meta/recipes-connectivity/openssh/openssh/0001-seccomp-Allow-clock_gettime64-in-sandbox.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From eae3e85322fa7c869f5822db4eda6348f2beb09e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 7 Jan 2020 16:26:45 -0800 | ||
4 | Subject: [PATCH] seccomp: Allow clock_gettime64() in sandbox. | ||
5 | |||
6 | This helps sshd accept connections on mips platforms with | ||
7 | upcoming glibc ( 2.31 ) | ||
8 | |||
9 | Upstream-Status: Accepted [https://github.com/openssh/openssh-portable/pull/161] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | sandbox-seccomp-filter.c | 3 +++ | ||
13 | 1 file changed, 3 insertions(+) | ||
14 | |||
15 | diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c | ||
16 | index 3ef30c9..999c46c 100644 | ||
17 | --- a/sandbox-seccomp-filter.c | ||
18 | +++ b/sandbox-seccomp-filter.c | ||
19 | @@ -248,6 +248,9 @@ static const struct sock_filter preauth_insns[] = { | ||
20 | #ifdef __NR_clock_nanosleep_time64 | ||
21 | SC_ALLOW(__NR_clock_nanosleep_time64), | ||
22 | #endif | ||
23 | +#ifdef __NR_clock_gettime64 | ||
24 | + SC_ALLOW(__NR_clock_gettime64), | ||
25 | +#endif | ||
26 | #ifdef __NR__newselect | ||
27 | SC_ALLOW(__NR__newselect), | ||
28 | #endif | ||
29 | -- | ||
30 | 2.24.1 | ||
31 | |||