summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.h')
-rw-r--r--mkfs/mkfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h
index bce98d8..f00898b 100644
--- a/mkfs/mkfs.h
+++ b/mkfs/mkfs.h
@@ -23,6 +23,11 @@
#include <sys/xattr.h>
#endif
+#ifdef WITH_SELINUX
+#include <selinux/selinux.h>
+#include <selinux/label.h>
+#endif
+
#include <getopt.h>
#include <assert.h>
#include <unistd.h>
@@ -65,4 +70,6 @@ void process_command_line(options_t *opt, int argc, char **argv);
int fstree_from_dir(fstree_t *fs, const char *path, unsigned int flags);
+int fstree_relabel_selinux(fstree_t *fs, const char *filename);
+
#endif /* MKFS_H */