[systemd-devel] [PATCH] smack-setup: fix path to Smack/CIPSO mappings

Patrick McCarty patrick.mccarty at linux.intel.com
Mon Sep 30 17:43:38 PDT 2013


The correct path to the dir with CIPSO mappings is /etc/smack/cipso.d/;
/etc/smack/cipso is a file that can include these mappings as well,
though it is no longer supported in upstream libsmack.
---
 src/core/smack-setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/smack-setup.c b/src/core/smack-setup.c
index d67a84a..1434dea 100644
--- a/src/core/smack-setup.c
+++ b/src/core/smack-setup.c
@@ -40,7 +40,7 @@
 #include "label.h"
 
 #define SMACK_CONFIG "/etc/smack/accesses.d/"
-#define CIPSO_CONFIG "/etc/smack/cipso/"
+#define CIPSO_CONFIG "/etc/smack/cipso.d/"
 
 #ifdef HAVE_SMACK
 
-- 
1.8.4



More information about the systemd-devel mailing list