[PATCH] 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 -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>

authored by Adrian Bunk and committed by Chris Wright 2c40579b 5a73c308

+1
+1
security/Kconfig
··· 35 36 config SECURITY 37 bool "Enable different security models" 38 help 39 This allows you to choose different security modules to be 40 configured into your kernel.
··· 35 36 config SECURITY 37 bool "Enable different security models" 38 + depends on SYSFS 39 help 40 This allows you to choose different security modules to be 41 configured into your kernel.