[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

Kernelmodule - init won't die


Thread replies: 11
Thread images: 3

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.
>>
File: images(2).jpg (10KB, 294x171px) Image search: [Google] [Yandex] [Bing]
images(2).jpg
10KB, 294x171px
>>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?
>>
File: gregkh.jpg (127KB, 800x848px) Image search: [Google] [Yandex] [Bing]
gregkh.jpg
127KB, 800x848px
>>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
Thread replies: 11
Thread images: 3
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK