lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 May 2007 23:56:32 +0200 (CEST)
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	linux-scsi@...r.kernel.org
cc:	Simon Arlott <simon@...e.lp0.eu>,
	James Bottomley <james.bottomley@...eleye.com>,
	Dave Jones <davej@...hat.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	kernel-packagers@...r.kernel.org, Matthew Wilcox <matthew@....cx>
Subject: [PATCH] SCSI: Let users disable SCSI_WAIT_SCAN to be built

Signed-off-by: Stefan Richter <stefanr@...6.in-berlin.de>
---
 drivers/scsi/Kconfig |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Index: linux-2.6.22-rc1/drivers/scsi/Kconfig
===================================================================
--- linux-2.6.22-rc1.orig/drivers/scsi/Kconfig
+++ linux-2.6.22-rc1/drivers/scsi/Kconfig
@@ -241,11 +241,19 @@ config SCSI_SCAN_ASYNC
 	  You can override this choice by specifying "scsi_mod.scan=sync"
 	  or async on the kernel's command line.
 
-config SCSI_WAIT_SCAN
+config SCSI_WAIT_SCAN_NO_Y
 	tristate
 	default m
-	depends on SCSI
-	depends on MODULES
+
+config SCSI_WAIT_SCAN
+	tristate "Pseudo driver which waits for SCSI scanning to finish"
+	depends on MODULES && SCSI && SCSI_WAIT_SCAN_NO_Y
+	help
+	  When loaded, this module will do nothing else than wait for
+	  SCSI low-level drivers to finish asynchronous scanning.
+	  The module will be called scsi_wait_scan.
+
+	  Most people can say n here.
 
 menu "SCSI Transports"
 	depends on SCSI


Is there a better way to restrict SCSI_WAIT_SCAN to m and n?
-- 
Stefan Richter
-=====-=-=== -=-= -====
http://arcgraph.de/sr/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ