chiark / gitweb /
tree-wide: drop 'This file is part of systemd' blurb
[elogind.git] / src / basic / label.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5   Copyright 2010 Lennart Poettering
6 ***/
7
8 #include <stdbool.h>
9 #include <sys/types.h>
10
11 typedef enum LabelFixFlags {
12         LABEL_IGNORE_ENOENT = 1 << 0,
13         LABEL_IGNORE_EROFS  = 1 << 1,
14 } LabelFixFlags;
15
16 int label_fix(const char *path, LabelFixFlags flags);
17
18 int mkdir_label(const char *path, mode_t mode);
19 #if 0 /// UNNEEDED by elogind
20 int symlink_label(const char *old_path, const char *new_path);
21
22 int btrfs_subvol_make_label(const char *path);
23 #endif // 0