]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fault injection: process filtering for fault-injection capabilities
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 8 Dec 2006 10:39:47 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:02 +0000 (08:29 -0800)
commitf4f154fd920b2178382a6a24a236348e4429ebc1
tree0bba747eb50b5d7e18d2b828f8c707b2781d7544
parentc17bb4951752d3e0f49cd1ea9d2e868422f9e0d6
[PATCH] fault injection: process filtering for fault-injection capabilities

This patch provides process filtering feature.
The process filter allows failing only permitted processes
by /proc/<pid>/make-it-fail

Please see the example that demostrates how to inject slab allocation
failures into module init/cleanup code
in Documentation/fault-injection/fault-injection.txt

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c
include/linux/fault-inject.h
include/linux/sched.h
lib/fault-inject.c