basic: add helper function mknod_label()

This commit is contained in:
Christian Göttsche
2020-07-10 21:55:13 +02:00
parent 5149990e1f
commit 7a3e4dc38b
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -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);