Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[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>
  • Loading branch information...
commit 2c40579bdc2a94977fcff2521d5b53a97c33e77a 1 parent 5a73c30
@AdrianBunk AdrianBunk authored Chris Wright committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  security/Kconfig
View
1  security/Kconfig
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.