forked from pool/openssh
e8b9919265
- Fix preauth seccomp separation on mainframes (bsc#1016709) [openssh-7.2p2-s390_hw_crypto_syscalls.patch] [openssh-7.2p2-s390_OpenSSL-ibmpkcs11_syscalls.patch] - enable case-insensitive hostname matching (bsc#1017099) [openssh-7.2p2-ssh_case_insensitive_host_matching.patch] - add CAVS tests [openssh-7.2p2-cavstest-ctr.patch] [openssh-7.2p2-cavstest-kdf.patch] - Adding missing pieces for user matching (bsc#1021626) - Properly verify CIDR masks in configuration (bsc#1005893) [openssh-7.2p2-verify_CIDR_address_ranges.patch] - Remove pre-auth compression support from the server to prevent possible cryptographic attacks. (CVE-2016-10012, bsc#1016370) [openssh-7.2p2-disable_preauth_compression.patch] - limit directories for loading PKCS11 modules (CVE-2016-10009, bsc#1016366) [openssh-7.2p2-restrict_pkcs11-modules.patch] - Prevent possible leaks of host private keys to low-privilege process handling authentication (CVE-2016-10011, bsc#1016369) [openssh-7.2p2-prevent_private_key_leakage.patch] - Do not allow unix socket forwarding when running without privilege separation (CVE-2016-10010, bsc#1016368) [openssh-7.2p2-secure_unix_sockets_forwarding.patch] - prevent resource depletion during key exchange (bsc#1005480, CVE-2016-8858) [openssh-7.2p2-kex_resource_depletion.patch] OBS-URL: https://build.opensuse.org/request/show/500279 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=117
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
# HG changeset patch
|
|
# Parent b86c2190c93aeaf958c22fc7b224dcaf87100288
|
|
# HG changeset patch
|
|
# Parent b262fd34c8ecd55e93d457b3ca5593abce716856
|
|
# login-pam cannot handle the option terminator "--" as login from util-linux
|
|
# (this is correct behaviour considering its man-page), hence use option which
|
|
# selects the compile-time branch in the code which doesn't use the terminator
|
|
#
|
|
# bnc#833605
|
|
|
|
diff --git a/openssh-7.2p2/configure.ac b/openssh-7.2p2/configure.ac
|
|
--- a/openssh-7.2p2/configure.ac
|
|
+++ b/openssh-7.2p2/configure.ac
|
|
@@ -770,16 +770,18 @@ main() { if (NSVersionOfRunTimeLibrary("
|
|
AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts])
|
|
AC_DEFINE([USE_BTMP], [1], [Use btmp to log bad logins])
|
|
;;
|
|
*-*-linux*)
|
|
no_dev_ptmx=1
|
|
use_pie=auto
|
|
check_for_libcrypt_later=1
|
|
check_for_openpty_ctty_bug=1
|
|
+ AC_DEFINE([LOGIN_NO_ENDOPT], [1],
|
|
+ [Define if your login program cannot handle end of options ("--")])
|
|
AC_DEFINE([PAM_TTY_KLUDGE], [1],
|
|
[Work around problematic Linux PAM modules handling of PAM_TTY])
|
|
AC_DEFINE([LOCKED_PASSWD_PREFIX], ["!"],
|
|
[String used in /etc/passwd to denote locked account])
|
|
AC_DEFINE([SPT_TYPE], [SPT_REUSEARGV])
|
|
AC_DEFINE([LINK_OPNOTSUPP_ERRNO], [EPERM],
|
|
[Define to whatever link() returns for "not supported"
|
|
if it doesn't return EOPNOTSUPP.])
|