diff options
Diffstat (limited to 'krb5-1.11-run_user_0.patch')
-rw-r--r-- | krb5-1.11-run_user_0.patch | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/krb5-1.11-run_user_0.patch b/krb5-1.11-run_user_0.patch index 6be760a..454b731 100644 --- a/krb5-1.11-run_user_0.patch +++ b/krb5-1.11-run_user_0.patch @@ -1,9 +1,19 @@ +From 8f81af0f10a917a000a12c9b344b3f801c939666 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood <rharwood@redhat.com> +Date: Tue, 23 Aug 2016 16:49:57 -0400 +Subject: [PATCH 10/19] krb5-1.11-run_user_0.patch + A hack: if we're looking at creating a ccache directory directly below the /run/user/0 directory, and /run/user/0 doesn't exist, try to create it, too. +--- + src/lib/krb5/ccache/cc_dir.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) ---- krb5/src/lib/krb5/ccache/cc_dir.c -+++ krb5/src/lib/krb5/ccache/cc_dir.c +diff --git a/src/lib/krb5/ccache/cc_dir.c b/src/lib/krb5/ccache/cc_dir.c +index 73f0fe6..4850c0d 100644 +--- a/src/lib/krb5/ccache/cc_dir.c ++++ b/src/lib/krb5/ccache/cc_dir.c @@ -61,6 +61,8 @@ #include <dirent.h> @@ -13,7 +23,7 @@ it, too. extern const krb5_cc_ops krb5_dcc_ops; extern const krb5_cc_ops krb5_fcc_ops; -@@ -239,6 +241,18 @@ +@@ -237,6 +239,18 @@ verify_dir(krb5_context context, const char *dirname) if (stat(dirname, &st) < 0) { if (errno == ENOENT) { @@ -32,3 +42,6 @@ it, too. #ifdef USE_SELINUX selabel = krb5int_push_fscreatecon_for(dirname); #endif +-- +2.9.3 + |