[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091201142120.149f654a@sripathi>
Date: Tue, 1 Dec 2009 14:21:20 +0530
From: Sripathi Kodi <sripathik@...ibm.com>
To: Sripathi Kodi <sripathik@...ibm.com>
Cc: linux-kernel@...r.kernel.org, Darren Hart <dvhltc@...ibm.com>
Subject: [RFC] [PATCH 2/2] Futex fault injection: Config option
Hi,
This patch adds config option to control futex fault injection.
Thanks,
Sripathi.
Signed-off-by: Sripathi Kodi <sripathik@...ibm.com>
---
Index: linux-2.6.32-rc8/lib/Kconfig.debug
===================================================================
--- linux-2.6.32-rc8.orig/lib/Kconfig.debug 2009-11-30 12:21:44.000000000 +0530
+++ linux-2.6.32-rc8/lib/Kconfig.debug 2009-11-30 15:24:42.000000000 +0530
@@ -882,6 +882,14 @@
Only works with drivers that use the generic timeout handling,
for others it wont do anything.
+config FAIL_FUTEX_EFAULT
+ bool "Fault injection capability for futex subsystem"
+ depends on FAULT_INJECTION
+ help
+ Provide fault injection capability for user-space read-write
+ in futex subsystem. Injects EFAULT errors while read/writing
+ values from user space
+
config FAULT_INJECTION_DEBUG_FS
bool "Debugfs entries for fault-injection capabilities"
depends on FAULT_INJECTION && SYSFS && DEBUG_FS
--
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