linux-sg2042/Documentation/fault-injection
Akinobu Mita 168c42bc56 fault-inject: add /proc/<pid>/fail-nth
fail-nth interface is only created in /proc/self/task/<current-tid>/.
This change also adds it in /proc/<pid>/.

This makes shell based tool a bit simpler.

	$ bash -c "builtin echo 100 > /proc/self/fail-nth && exec ls /"

Link: http://lkml.kernel.org/r/1491490561-10485-6-git-send-email-akinobu.mita@gmail.com
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-14 15:05:13 -07:00
..
fault-injection.txt fault-inject: add /proc/<pid>/fail-nth 2017-07-14 15:05:13 -07:00
notifier-error-inject.txt net: Add support for CHANGEUPPER notifier error injection 2015-12-03 11:49:23 -05:00
provoke-crashes.txt lkdtm: add debugfs access and loosen KPROBE ties 2010-03-06 11:26:32 -08:00