summaryrefslogtreecommitdiff
path: root/debian/patches/auth-log-verbosity.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-08-28 12:14:23 +0100
committerColin Watson <cjwatson@debian.org>2017-08-28 12:15:42 +0100
commit305960d0d6d1d9bc0edc3393383fd5f60e69dec4 (patch)
treec7d5abc0f998a53446e0a15524c08bfb93f9627b /debian/patches/auth-log-verbosity.patch
parente1c5c61f519b8ef0c210c7949789cfb33ad0cf13 (diff)
parent375f99251da3754666750fe1ed63575ba909f397 (diff)
Apply patches from https://bugzilla.mindrot.org/show_bug.cgi?id=2752 to allow some extra syscalls for crypto cards on s390x (LP: #1686618).
Diffstat (limited to 'debian/patches/auth-log-verbosity.patch')
-rw-r--r--debian/patches/auth-log-verbosity.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/patches/auth-log-verbosity.patch b/debian/patches/auth-log-verbosity.patch
index 6b5653ca7..fb3855f9a 100644
--- a/debian/patches/auth-log-verbosity.patch
+++ b/debian/patches/auth-log-verbosity.patch
@@ -18,7 +18,7 @@ diff --git a/auth-options.c b/auth-options.c
18index 57b49f7f..7eb87b35 100644 18index 57b49f7f..7eb87b35 100644
19--- a/auth-options.c 19--- a/auth-options.c
20+++ b/auth-options.c 20+++ b/auth-options.c
21@@ -59,9 +59,20 @@ int forced_tun_device = -1; 21@@ -59,8 +59,19 @@ int forced_tun_device = -1;
22 /* "principals=" option. */ 22 /* "principals=" option. */
23 char *authorized_principals = NULL; 23 char *authorized_principals = NULL;
24 24
@@ -28,17 +28,16 @@ index 57b49f7f..7eb87b35 100644
28+ 28+
29 extern ServerOptions options; 29 extern ServerOptions options;
30 30
31 void 31+void
32+auth_start_parse_options(void) 32+auth_start_parse_options(void)
33+{ 33+{
34+ logged_from_hostip = 0; 34+ logged_from_hostip = 0;
35+ logged_cert_hostip = 0; 35+ logged_cert_hostip = 0;
36+} 36+}
37+ 37+
38+void 38 void
39 auth_clear_options(void) 39 auth_clear_options(void)
40 { 40 {
41 no_agent_forwarding_flag = 0;
42@@ -316,10 +327,13 @@ auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) 41@@ -316,10 +327,13 @@ auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum)
43 /* FALLTHROUGH */ 42 /* FALLTHROUGH */
44 case 0: 43 case 0: