Monday, November 16, 2009

funny code fragments


Err elfUnload(Process* p, void* base){

if(p == taskGetKernelProcess()) {

Panic("ELF unload in kernel not implemented. why are you trying it anyways?");
}

2 comments:

Snoopy4ever said...

I wonder the face of the guy that should recieve that message.. :D so funny.

Dmitry Grinberg said...

You never would receive it. It was a reminder to me. That part is now implemented. It's a code path that gets called when you unload a kernel module.