Blame SOURCES/0074-IPA-Store-right-username-to-selinux-child-context.patch
|
|
905b4d |
From 66d12b25e5976041f7298b94c9cfe03ee77aa2bb Mon Sep 17 00:00:00 2001
|
|
|
905b4d |
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
|
905b4d |
Date: Thu, 6 Nov 2014 12:12:04 +0100
|
|
|
905b4d |
Subject: [PATCH 74/75] IPA: Store right username to selinux child context
|
|
|
905b4d |
MIME-Version: 1.0
|
|
|
905b4d |
Content-Type: text/plain; charset=UTF-8
|
|
|
905b4d |
Content-Transfer-Encoding: 8bit
|
|
|
905b4d |
|
|
|
905b4d |
Wrong name would be used with fully qualified names.
|
|
|
905b4d |
|
|
|
905b4d |
Reviewed-by: Michal Židek <mzidek@redhat.com>
|
|
|
905b4d |
---
|
|
|
905b4d |
src/providers/ipa/ipa_selinux.c | 2 +-
|
|
|
905b4d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
905b4d |
|
|
|
905b4d |
diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c
|
|
|
905b4d |
index b392d82a61cd523cd5e73e5246013bdbc448ddd5..30ad6f0a7c4622ca5eb9a75ae4f57183543515c6 100644
|
|
|
905b4d |
--- a/src/providers/ipa/ipa_selinux.c
|
|
|
905b4d |
+++ b/src/providers/ipa/ipa_selinux.c
|
|
|
905b4d |
@@ -867,7 +867,7 @@ selinux_child_setup(TALLOC_CTX *mem_ctx,
|
|
|
905b4d |
|
|
|
905b4d |
sci->seuser = talloc_strdup(sci, seuser);
|
|
|
905b4d |
sci->mls_range = talloc_strdup(sci, mls_range);
|
|
|
905b4d |
- sci->username = talloc_strdup(sci, username);
|
|
|
905b4d |
+ sci->username = talloc_strdup(sci, username_final);
|
|
|
905b4d |
if (sci->seuser == NULL || sci->mls_range == NULL
|
|
|
905b4d |
|| sci->username == NULL) {
|
|
|
905b4d |
ret = ENOMEM;
|
|
|
905b4d |
--
|
|
|
905b4d |
1.9.3
|
|
|
905b4d |
|