1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 This file is part of systemd.
7 Copyright 2010 Lennart Poettering
11 #include <sys/types.h>
13 typedef enum LabelFixFlags {
14 LABEL_IGNORE_ENOENT = 1 << 0,
15 LABEL_IGNORE_EROFS = 1 << 1,
18 int label_fix(const char *path, LabelFixFlags flags);
20 int mkdir_label(const char *path, mode_t mode);
21 #if 0 /// UNNEEDED by elogind
22 int symlink_label(const char *old_path, const char *new_path);
24 int btrfs_subvol_make_label(const char *path);