smack-setup: fix path to Smack/CIPSO mappings

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.
This commit is contained in:
Patrick McCarty
2013-10-06 10:48:20 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 5c6fa27f02
commit 40d128581e
+1 -1
View 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/"
static int write_rules(const char* dstpath, const char* srcdir) {
_cleanup_fclose_ FILE *dst = NULL;