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
committerLennart Poettering <lennart@poettering.net>2014-10-23 21:36:56 +0200
commit5dfc54615a1eacea18106383c964425cebd67c30 (patch)
tree7f6b1cbf4190a08c7b74adc79db2ee3d309b40b8 /src/shared/mkdir-label.c
parentd1ce2089b4b2fb1f1d8faba9a0aa6d9f8fbb0638 (diff)
smack: rework SMACK label fixing code to follow more closely the semantics of the matching selinux code
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 48941b3df4..81bc78c1e7 100644
--- a/src/shared/mkdir-label.c
+++ b/src/shared/mkdir-label.c
@@ -46,7 +46,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;
}