diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-07-10 21:37:44 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-07-10 21:55:13 +0200 |
commit | 7a3e4dc38b3e3ef60d4886aa2c1cb871f49bfee9 (patch) | |
tree | 84abf75a514c4a5992f3b346541d32369d423535 /src/basic/label.h | |
parent | 5149990e1f6d3c456e3664011778d09734faacfd (diff) | |
download | systemd-7a3e4dc38b3e3ef60d4886aa2c1cb871f49bfee9.tar.gz |
basic: add helper function mknod_label()
Diffstat (limited to 'src/basic/label.h')
-rw-r--r-- | src/basic/label.h | 1 |
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); |