Skip to contentSkip to conversation

SECURITY must depend on SYSFS

PATCH New Adrian Bunk 1 participant 1 message Jul 23, 2005 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SECURITY must depend on SYSFS

CONFIG_SECURITY=y and CONFIG_SYSFS=n results in the following compile error:

<-- snip -->

...
LD vmlinux
security/built-in.o: In function `securityfs_init':
inode.c:(.init.text+0x1c2): undefined reference to `kernel_subsys'
make: *** [vmlinux] Error 1

<-- snip -->

security/Kconfig renamed from security/Kconfig.old +1 -0
@@ -35,6 +35,7 @@
 
 config SECURITY
 	bool "Enable different security models"
+	depends on SYSFS
 	help
 	  This allows you to choose different security modules to be
 	  configured into your kernel.