From: Lennart Poettering Date: Thu, 23 Oct 2014 16:40:03 +0000 (+0200) Subject: smack: we don't need the special labels exported, hence don't X-Git-Tag: v217~101 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=376a2980960baba22b9bee6b227c27c373215b5a;hp=29621421753991b0f10aabfbba89d4ae3c3f033a;p=elogind.git smack: we don't need the special labels exported, hence don't --- diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c index dd7e3be1b..a8dccd155 100644 --- a/src/shared/smack-util.c +++ b/src/shared/smack-util.c @@ -27,6 +27,9 @@ #include "path-util.h" #include "smack-util.h" +#define SMACK_FLOOR_LABEL "_" +#define SMACK_STAR_LABEL "*" + bool mac_smack_use(void) { #ifdef HAVE_SMACK static int cached_use = -1; diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h index 3dc28dd72..68778da38 100644 --- a/src/shared/smack-util.h +++ b/src/shared/smack-util.h @@ -25,9 +25,6 @@ #include -#define SMACK_FLOOR_LABEL "_" -#define SMACK_STAR_LABEL "*" - bool mac_smack_use(void); int mac_smack_fix(const char *path, bool ignore_enoent, bool ignore_erofs);