LWN.net Logo

A module for crashing the kernel

A module for crashing the kernel

Posted Jan 28, 2010 3:05 UTC (Thu) by pr1268 (subscriber, #24648)
Parent article: A module for crashing the kernel

> it's not clear that this little module will ever make its way into the mainline.

Why not? Windows 2000 and XP have a similar feature (invoked by a keystroke combination).

Of course, I'd personally be afraid of this module lurking in my kernel. One malicious script writing to any of the files in the provoke_crash directory with this module active would be disastrous.


(Log in to post comments)

A module for crashing the kernel

Posted Jan 28, 2010 6:44 UTC (Thu) by lkundrak (subscriber, #43452) [Link]

One malicious script could write /dev/mem as well.

A module for crashing the kernel

Posted Jan 28, 2010 9:31 UTC (Thu) by SimonKagstrom (subscriber, #49801) [Link]

I did add some helpful Kconfig messages for that: NOTE: This feature is dangerous! [...] If unsure, say N. :-).

There was some opposition against it (NULL dereferences can be done through /proc/sysrq-trigger already) so it looks like it won't get merged. Anyway, the patch is out now, so if someone else needs something similar it should be easy to find.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds