In my cs lecture we must "crash the system" with our kernelmodule. I run 3.16.0-53 in the VM and access it over SSH.
>> lazy me sets status of all tasks to -1, so they become unrunnable. The session crashes but I can logg in and unload the module while most processes stay (-1).
Flippin init caches all children who lost parents and even let's me login. What should I do?
Just make it install some AMD drivers and the latest xorg.
>>51763642
Dubt it will kill init
>>51763615
You could mess with stack ptr etc. But will get messy and you have to toss FS
>>51763615
start writing at (int*)0x0 and count up or something maybe?
>>51763615
Just cause a page fault, easy.
just fork bomb. always works.
>>51763615
Just vomit random bits all over memory.
>>51763962
Ofcourse that works but this is not elegant.
>>51763615
Reset exception handler to blank state and do a triple fault on the cpu, shall crash any x86 based computer
>>51763615
Where do I find resources to learn this kind of stuff?
>>51764420
http://www.tldp.org/LDP/lkmpg/2.6/html/hello2.html
Google free-electron for c-sourcecode crossref but greping /usr/src/$(uname -r)/include is OK to