mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 22:21:45 +00:00
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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
5c6fa27f02
commit
40d128581e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user