Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lkdtm: add debugfs access and loosen KPROBE ties
Add adds a debugfs interface and additional failure modes to LKDTM to provide similar functionality to the provoke-crash driver submitted here: http://lwn.net/Articles/371208/ Crashes can now be induced either through module parameters (as before) or through the debugfs interface as in provoke-crash. The patch also provides a new "direct" interface, where KPROBES are not used, i.e., the crash is invoked directly upon write to the debugfs file. When built without KPROBES configured, only this mode is available. Signed-off-by: Simon Kagstrom <[email protected]> Cc: M. Mohan Kumar <[email protected]> Cc: Americo Wang <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "Eric W. Biederman" <[email protected]>, Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information