smack-setup: fix path to Smack/CIPSO mappings
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Tue, 1 Oct 2013 00:43:38 +0000 (17:43 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Oct 2013 00:52:46 +0000 (02:52 +0200)
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

index d67a84a..1434dea 100644 (file)
@@ -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