summaryrefslogtreecommitdiff
path: root/src/shared/label.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 19:58:45 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-23 21:36:56 +0200
commitc34255bdb217c2a1d3ac6348252437ab8be9ca46 (patch)
treeb74ff09f1fa73b640fe53a50bc76a7bbbbf9a9bc /src/shared/label.h
parentf3c80515c191b4447a2b0bc5a582dbffeca4679f (diff)
label: unify code to make directories, symlinks
Diffstat (limited to 'src/shared/label.h')
-rw-r--r--src/shared/label.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/label.h b/src/shared/label.h
index 1859f843dc..3428a8bb7a 100644
--- a/src/shared/label.h
+++ b/src/shared/label.h
@@ -25,3 +25,6 @@
#include "smack-util.h"
int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs);
+
+int mkdir_label(const char *path, mode_t mode);
+int symlink_label(const char *old_path, const char *new_path);