Skip to content

Commit

Permalink
[PATCH] SECURITY must depend on SYSFS
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
  • Loading branch information
AdrianBunk authored and Chris Wright committed Aug 22, 2005
1 parent 5a73c30 commit 2c40579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2c40579

Please sign in to comment.