public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] SECURITY must depend on SYSFS
@ 2005-08-22 16:20 Adrian Bunk
  2005-08-22 17:30 ` Chris Wright
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2005-08-22 16:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: chrisw, linux-security-module, linux-kernel

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>

---

This patch was already sent on:
- 24 Jul 2005

--- linux-2.6.13-rc3-mm1-full/security/Kconfig.old	2005-07-23 20:21:09.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/security/Kconfig	2005-07-23 20:22:22.000000000 +0200
@@ -35,6 +35,7 @@
 
 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.


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [2.6 patch] SECURITY must depend on SYSFS
@ 2005-07-23 22:05 Adrian Bunk
  0 siblings, 0 replies; 6+ messages in thread
From: Adrian Bunk @ 2005-07-23 22:05 UTC (permalink / raw)
  To: chrisw; +Cc: linux-security-module, linux-kernel

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>

--- linux-2.6.13-rc3-mm1-full/security/Kconfig.old	2005-07-23 20:21:09.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/security/Kconfig	2005-07-23 20:22:22.000000000 +0200
@@ -35,6 +35,7 @@
 
 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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-22 21:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 16:20 [2.6 patch] SECURITY must depend on SYSFS Adrian Bunk
2005-08-22 17:30 ` Chris Wright
2005-08-22 20:38   ` Adrian Bunk
2005-08-22 20:47   ` Roman Zippel
2005-08-22 20:59     ` Chris Wright
  -- strict thread matches above, loose matches on Subject: below --
2005-07-23 22:05 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox