diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/0001-openssh-Fix-syntax-error-on-x32.patch | 33 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_7.5p1.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/0001-openssh-Fix-syntax-error-on-x32.patch b/meta/recipes-connectivity/openssh/openssh/0001-openssh-Fix-syntax-error-on-x32.patch new file mode 100644 index 0000000000..ce9e200d78 --- /dev/null +++ b/meta/recipes-connectivity/openssh/openssh/0001-openssh-Fix-syntax-error-on-x32.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From a7e359d4ba345aa2a13c07f1057184e9b4e598a2 Mon Sep 17 00:00:00 2001 | ||
2 | From: sweeaun <swee.aun.khor@intel.com> | ||
3 | Date: Tue, 22 Aug 2017 11:19:48 -0700 | ||
4 | Subject: [PATCH] openssh: Fix syntax error on x32 | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | This bug has been fixed in v_7.5 branch https://github.com/openssh/ | ||
8 | openssh-portable/tree/V_7_5 and master branch https://github.com/ | ||
9 | openssh/openssh-portable/tree/master. | ||
10 | |||
11 | Fix compilation error during openssh x32 build due to syntax error. | ||
12 | |||
13 | Signed-off-by: sweeaun <swee.aun.khor@intel.com> | ||
14 | --- | ||
15 | sandbox-seccomp-filter.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c | ||
19 | index 3a1aedc..a8d472a 100644 | ||
20 | --- a/sandbox-seccomp-filter.c | ||
21 | +++ b/sandbox-seccomp-filter.c | ||
22 | @@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = { | ||
23 | * x86-64 syscall under some circumstances, e.g. | ||
24 | * https://bugs.debian.org/849923 | ||
25 | */ | ||
26 | - SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT); | ||
27 | + SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT), | ||
28 | #endif | ||
29 | |||
30 | /* Default deny */ | ||
31 | -- | ||
32 | 2.7.4 | ||
33 | |||
diff --git a/meta/recipes-connectivity/openssh/openssh_7.5p1.bb b/meta/recipes-connectivity/openssh/openssh_7.5p1.bb index 3b8fd7d1cc..e46b4c86ad 100644 --- a/meta/recipes-connectivity/openssh/openssh_7.5p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_7.5p1.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
26 | file://openssh-7.1p1-conditional-compile-des-in-cipher.patch \ | 26 | file://openssh-7.1p1-conditional-compile-des-in-cipher.patch \ |
27 | file://openssh-7.1p1-conditional-compile-des-in-pkcs11.patch \ | 27 | file://openssh-7.1p1-conditional-compile-des-in-pkcs11.patch \ |
28 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ | 28 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ |
29 | file://0001-openssh-Fix-syntax-error-on-x32.patch \ | ||
29 | " | 30 | " |
30 | 31 | ||
31 | PAM_SRC_URI = "file://sshd" | 32 | PAM_SRC_URI = "file://sshd" |