Commit 2c40579bdc2a94977fcff2521d5b53a97c33e77a

Authored by Adrian Bunk
Committed by Chris Wright
1 parent 5a73c30875

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

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -35,6 +35,7 @@
35 35  
36 36 config SECURITY
37 37 bool "Enable different security models"
  38 + depends on SYSFS
38 39 help
39 40 This allows you to choose different security modules to be
40 41 configured into your kernel.