Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do read http://news.ycombinator.com/item?id=2973012 (various security issues), though.


Yep yep I saw that too. But this kind of security issue is not specific to kernel module, it's something every C programmer should be aware of already. (I don't think it's that important here tho, because if the kernel crashes because of this module it's "lol" too :-p). What's interesting here is the C file structure (the #includes and the MODULE_* and module_* macros and functions) and the Makefile.


Manipulating the cr0 register is _very_ kernel specific.


Oh right I didn't see that before posting my previous comment, I thought it was just the `p = (char *)(path + strlen(path) - 4);` thing, which I had also spotted on my own. Thanks for the warning!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: