Fault-injections of functions
modulename: error-inject.ko
configname: CONFIG_FUNCTION_ERROR_INJECTION
Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>Fault-injections of functions
In linux kernel since version 3.10 (release Date: 2013-06-30)
Add fault injections into various functions that are annotated with
ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return
value of these functions. This is useful to test error paths of code.
If unsure, say N
ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return
value of these functions. This is useful to test error paths of code.
If unsure, say N