summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-label.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-07-26 03:34:18 +0200
committerKay Sievers <kay@vrfy.org>2013-07-26 04:13:55 +0200
commit39bdfa31f2f00c3357e2a7a5f139abee6d7c7cd3 (patch)
tree82b73224f774156f6ab57ef60af0f26ed6507e3d /src/shared/cgroup-label.c
parent819da59577758a7a328020546127091e45bc59e7 (diff)
shared: split mkdir_*() and mkdir_*_label() from each other
Avoid pulling-in selinux for tools which just create directories but not need to fix the selinux label.
Diffstat (limited to 'src/shared/cgroup-label.c')
-rw-r--r--src/shared/cgroup-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-label.c b/src/shared/cgroup-label.c
index 574a7be3ee..bae0a627d2 100644
--- a/src/shared/cgroup-label.c
+++ b/src/shared/cgroup-label.c
@@ -47,7 +47,7 @@ int cg_create(const char *controller, const char *path) {
if (r < 0)
return r;
- r = mkdir_parents_prefix("/sys/fs/cgroup", fs, 0755);
+ r = mkdir_parents_prefix_label("/sys/fs/cgroup", fs, 0755);
if (r < 0)
return r;