提交 2c40579b 编写于 作者: A Adrian Bunk 提交者: Chris Wright

[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: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NChris Wright <chrisw@osdl.org>
上级 5a73c308
...@@ -35,6 +35,7 @@ config KEYS_DEBUG_PROC_KEYS ...@@ -35,6 +35,7 @@ config KEYS_DEBUG_PROC_KEYS
config SECURITY config SECURITY
bool "Enable different security models" bool "Enable different security models"
depends on SYSFS
help help
This allows you to choose different security modules to be This allows you to choose different security modules to be
configured into your kernel. configured into your kernel.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册