summaryrefslogtreecommitdiff
path: root/src/basic/label.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-07-10 21:37:44 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-07-10 21:55:13 +0200
commit7a3e4dc38b3e3ef60d4886aa2c1cb871f49bfee9 (patch)
tree84abf75a514c4a5992f3b346541d32369d423535 /src/basic/label.h
parent5149990e1f6d3c456e3664011778d09734faacfd (diff)
downloadsystemd-7a3e4dc38b3e3ef60d4886aa2c1cb871f49bfee9.tar.gz
basic: add helper function mknod_label()
Diffstat (limited to 'src/basic/label.h')
-rw-r--r--src/basic/label.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/label.h b/src/basic/label.h
index a6f9074b28..6dc0f710ef 100644
--- a/src/basic/label.h
+++ b/src/basic/label.h
@@ -17,5 +17,6 @@ static inline int label_fix(const char *path, LabelFixFlags flags) {
int mkdir_label(const char *path, mode_t mode);
int mkdirat_label(int dirfd, const char *path, mode_t mode);
int symlink_label(const char *old_path, const char *new_path);
+int mknod_label(const char *pathname, mode_t mode, dev_t dev);
int btrfs_subvol_make_label(const char *path);