mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5 patch] SECURITY_ROOTPLUG must depend on USB
@ 2003-06-01 18:44 Adrian Bunk
  2003-06-02 17:20 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2003-06-01 18:44 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

The following patch lets SECURITY_ROOTPLUG depend on USB (otherwise
there are link errors since Root Plug Support needs
usb_bus_list{,_lock}):


--- linux-2.5.70-mm3/security/Kconfig.old	2003-06-01 20:40:40.000000000 +0200
+++ linux-2.5.70-mm3/security/Kconfig	2003-06-01 20:41:00.000000000 +0200
@@ -33,7 +33,7 @@
 
 config SECURITY_ROOTPLUG
 	tristate "Root Plug Support"
-	depends on SECURITY!=n
+	depends on USB && SECURITY!=n
 	help
 	  This is a sample LSM module that should only be used as such.
 	  It prevents any programs running with egid == 0 if a specific


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

end of thread, other threads:[~2003-06-02 21:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-01 18:44 [2.5 patch] SECURITY_ROOTPLUG must depend on USB Adrian Bunk
2003-06-02 17:20 ` Greg KH
2003-06-02 21:13   ` Chris Wright
2003-06-02 21:40     ` Greg KH

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

all inboxes | Powered by JetHome®