Fault-injection capability for kmalloc

modulename: failslab.ko

configname: CONFIG_FAILSLAB

Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>Fault-injection capability for kmalloc
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
Provide fault-injection capability for kmalloc.

source code: