diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-17 15:38:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-20 00:02:22 +0000 |
commit | afcbe8232028acd1be034fdbc13d3338c6ce1732 (patch) | |
tree | 7aaff2b6f8c75f453ad533050e4f8ac45538b2a6 /meta/recipes-connectivity/openssh/openssh_8.9p1.bb | |
parent | f8134d36926efc7b4b2150a3e4fe98281a476212 (diff) | |
download | poky-afcbe8232028acd1be034fdbc13d3338c6ce1732.tar.gz |
openssh: Default to not using sandbox when cross compiling
backport a patch to fix sandboxing issues seen on ppc32 and also on
riscv32 [1]
[1] https://bugzilla.mindrot.org/show_bug.cgi?id=3398
(From OE-Core rev: 90895a627be5e8a4e4943fa9195b5553416086d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh_8.9p1.bb')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_8.9p1.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb index 6c5c1912e8..f306b1245a 100644 --- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb | |||
@@ -25,6 +25,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
25 | file://sshd_check_keys \ | 25 | file://sshd_check_keys \ |
26 | file://add-test-support-for-busybox.patch \ | 26 | file://add-test-support-for-busybox.patch \ |
27 | file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \ | 27 | file://f107467179428a0e3ea9e4aa9738ac12ff02822d.patch \ |
28 | file://0001-Default-to-not-using-sandbox-when-cross-compiling.patch \ | ||
28 | " | 29 | " |
29 | SRC_URI[sha256sum] = "fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7" | 30 | SRC_URI[sha256sum] = "fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7" |
30 | 31 | ||
@@ -77,9 +78,6 @@ EXTRA_OECONF = "'LOGIN_PROGRAM=${base_bindir}/login' \ | |||
77 | # musl doesn't implement wtmp/utmp and logwtmp | 78 | # musl doesn't implement wtmp/utmp and logwtmp |
78 | EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog" | 79 | EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog" |
79 | 80 | ||
80 | # https://bugzilla.mindrot.org/show_bug.cgi?id=3398 | ||
81 | EXTRA_OECONF:append:powerpc = " --with-sandbox=no" | ||
82 | |||
83 | # Since we do not depend on libbsd, we do not want configure to use it | 81 | # Since we do not depend on libbsd, we do not want configure to use it |
84 | # just because it finds libutil.h. But, specifying --disable-libutil | 82 | # just because it finds libutil.h. But, specifying --disable-libutil |
85 | # causes compile errors, so... | 83 | # causes compile errors, so... |