From f415b29255819e19ffde16018fb9ad02cbbfd17c Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 28 Sep 2019 21:10:15 +0200 Subject: Move fstree selinux code to gensquashfs Same rational as for the dir-scanner code: It's actually the only user and it is going to get a lot closer integerated with libsquashfs. Signed-off-by: David Oberhollenzer --- mkfs/mkfs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mkfs/mkfs.h') 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 #endif +#ifdef WITH_SELINUX +#include +#include +#endif + #include #include #include @@ -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 */ -- cgit v1.2.3