[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
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

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 (10 KB, 294x171) Image search: [Google]
images(2).jpg
10 KB, 294x171
>>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 (127 KB, 800x848) Image search: [Google]
gregkh.jpg
127 KB, 800x848
>>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

banner
banner
[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.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.