valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0057-smack-setup-fix-path-to-Smack-CIPSO-mappings.patch

a4b143
From d235f3854b80b7e3bedd96391bd9ea8db5b8ff93 Mon Sep 17 00:00:00 2001
a4b143
From: Patrick McCarty <patrick.mccarty@linux.intel.com>
a4b143
Date: Mon, 30 Sep 2013 17:43:38 -0700
a4b143
Subject: [PATCH] smack-setup: fix path to Smack/CIPSO mappings
a4b143
a4b143
The correct path to the dir with CIPSO mappings is /etc/smack/cipso.d/;
a4b143
/etc/smack/cipso is a file that can include these mappings as well,
a4b143
though it is no longer supported in upstream libsmack.
a4b143
---
a4b143
 src/core/smack-setup.c | 2 +-
a4b143
 1 file changed, 1 insertion(+), 1 deletion(-)
a4b143
a4b143
diff --git a/src/core/smack-setup.c b/src/core/smack-setup.c
a4b143
index d67a84a..1434dea 100644
a4b143
--- a/src/core/smack-setup.c
a4b143
+++ b/src/core/smack-setup.c
a4b143
@@ -40,7 +40,7 @@
a4b143
 #include "label.h"
a4b143
 
a4b143
 #define SMACK_CONFIG "/etc/smack/accesses.d/"
a4b143
-#define CIPSO_CONFIG "/etc/smack/cipso/"
a4b143
+#define CIPSO_CONFIG "/etc/smack/cipso.d/"
a4b143
 
a4b143
 #ifdef HAVE_SMACK
a4b143