]> err.no Git - linux-2.6/commitdiff
[PATCH] SECURITY must depend on SYSFS
authorAdrian Bunk <bunk@stusta.de>
Mon, 22 Aug 2005 16:20:50 +0000 (18:20 +0200)
committerChris Wright <chrisw@osdl.org>
Mon, 22 Aug 2005 21:10:22 +0000 (14:10 -0700)
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>
security/Kconfig

index dcf04a09185de5fbd3507e221de81abbe9be90f1..64d3f1e9ca85e4a925b2c38680af74c70dc27a53 100644 (file)
@@ -35,6 +35,7 @@ config KEYS_DEBUG_PROC_KEYS
 
 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.