From aee58d52ce616fc1d74c15fec01e751e9c2c1dd5 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 18 Jul 2020 08:01:54 -0500 Subject: build: add support for SELinux to include/image.mk This allows the build process to prepare a squashfs filesystem for use with SELinux. Signed-off-by: Thomas Petazzoni [rebase, add commit message] Signed-off-by: W. Michael Petullo --- config/Config-build.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config') diff --git a/config/Config-build.in b/config/Config-build.in index 499f84690f..fc94f4d45e 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -328,4 +328,14 @@ menu "Global build settings" bool "Full" endchoice + config TARGET_ROOTFS_SECURITY_LABELS + bool "Enable rootfs security labels" + select KERNEL_SQUASHFS_XATTR + select KERNEL_EXT4_FS_SECURITY + select KERNEL_F2FS_FS_SECURITY + select KERNEL_UBIFS_FS_SECURITY + select KERNEL_JFFS2_FS_SECURITY + select PACKAGE_refpolicy + help + This option enables the usage of SELinux labels endmenu -- cgit v1.2.3