summaryrefslogtreecommitdiff
path: root/src/shared/mkdir-label.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 18:34:58 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 18:34:28 -0400
commit7ede4612365f6420a3aad963d0d8bb7bd390344d (patch)
tree81943a1c2bf39e396fb2bd70ab2529a2504212a9 /src/shared/mkdir-label.c
parentc649be35f12331321ef2e5da522d91baa9a77550 (diff)
smack: rework SMACK label fixing code to follow more closely the semantics of the matching selinux code
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/mkdir-label.c')
-rw-r--r--src/shared/mkdir-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mkdir-label.c b/src/shared/mkdir-label.c
index d9a481bd86..1b16c3bd72 100644
--- a/src/shared/mkdir-label.c
+++ b/src/shared/mkdir-label.c
@@ -44,7 +44,7 @@ static int label_mkdir(const char *path, mode_t mode) {
if (r < 0 && errno != EEXIST)
return -errno;
- r = mac_smack_fix(path);
+ r = mac_smack_fix(path, false, false);
if (r < 0)
return r;
}