mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
openssh: upgrade 8.9p1 -> 9.0p1
(From OE-Core rev: ee2b6da307512beecebc468194d614ba5de33d01) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bab5779e91
commit
6d46321a15
@@ -1,33 +0,0 @@
|
||||
From 56194e9a6043873b0ec84f9d15c6e4caca2580c8 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Tucker <dtucker@dtucker.net>
|
||||
Date: Tue, 8 Mar 2022 20:04:06 +1100
|
||||
Subject: [PATCH] Default to not using sandbox when cross compiling.
|
||||
|
||||
On most systems poll(2) does not work when the number of FDs is reduced
|
||||
with setrlimit, so assume it doesn't when cross compiling and we can't
|
||||
run the test. bz#3398.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Backport [https://anongit.mindrot.org/openssh.git/patch/?id=8cf5275452a950869cb90eeac7d220b01f77b12e]
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 17fb1e6..a165d08 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3574,8 +3574,8 @@ AC_RUN_IFELSE(
|
||||
select_works_with_rlimit=yes],
|
||||
[AC_MSG_RESULT([no])
|
||||
select_works_with_rlimit=no],
|
||||
- [AC_MSG_WARN([cross compiling: assuming yes])
|
||||
- select_works_with_rlimit=yes]
|
||||
+ [AC_MSG_WARN([cross compiling: assuming no])
|
||||
+ select_works_with_rlimit=no]
|
||||
)
|
||||
|
||||
AC_CHECK_MEMBERS([struct pollfd.fd], [], [], [[
|
||||
--
|
||||
2.35.1
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From f107467179428a0e3ea9e4aa9738ac12ff02822d Mon Sep 17 00:00:00 2001
|
||||
From: Colin Watson <cjwatson@debian.org>
|
||||
Date: Thu, 24 Feb 2022 16:04:18 +0000
|
||||
Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support
|
||||
|
||||
GCC doesn't tell us whether this option is supported unless it runs into
|
||||
the situation where it would need to emit corresponding code.
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
m4/openssh.m4 | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/m4/openssh.m4 b/m4/openssh.m4
|
||||
index 4f9c3792dc1..8c33c701b8b 100644
|
||||
--- a/m4/openssh.m4
|
||||
+++ b/m4/openssh.m4
|
||||
@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+/* Trivial function to help test for -fzero-call-used-regs */
|
||||
+void f(int n) {}
|
||||
int main(int argc, char **argv) {
|
||||
(void)argv;
|
||||
/* Some math to catch -ftrapv problems in the toolchain */
|
||||
@@ -21,6 +23,7 @@ int main(int argc, char **argv) {
|
||||
float l = i * 2.1;
|
||||
double m = l / 0.5;
|
||||
long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
|
||||
+ f(0);
|
||||
printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
|
||||
/*
|
||||
* Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does
|
||||
@@ -24,10 +24,8 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
|
||||
file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \
|
||||
file://sshd_check_keys \
|
||||
file://add-test-support-for-busybox.patch \
|
||||
file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \
|
||||
file://0001-Default-to-not-using-sandbox-when-cross-compiling.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7"
|
||||
SRC_URI[sha256sum] = "03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a"
|
||||
|
||||
# This CVE is specific to OpenSSH with the pam opie which we don't build/use here
|
||||
CVE_CHECK_IGNORE += "CVE-2007-2768"
|
||||
Reference in New Issue
Block a user