Some code taken from other sources(others repo's, gist's), sites, courses, and so on. And some code is made and/or modified by me; :warning: note - any of this is not perfect; I make this gist to some friends which asked me for some beginner lkm dev;
Last active
February 3, 2024 19:17
-
-
Save loneicewolf/226e3e20e6041d12a63a5e833ebb0503 to your computer and use it in GitHub Desktop.
LKM Loadable Kernel Modules in Linux
Expand todo: pitfalls
- includes
- using/calling wrong function/file
- reboot required/snapshot/checkpoint restore (if crashy/unstable)
- Null's, newlines,
\*
, not=0
when one should do; - order (in some cases) of functions (note - mostly in normal C usermode programming but)
Expand todo: misc
-
easy future maintainable (e.g when done with a project, generalize it, simplify it, apply best practices, etc. Document. Include "supported versions", and so on.)
-
Naming. Name things well.
-
Know when to use (and change to the better)
-
//
-
or
-
/**/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expand todo
SimpleDropdown
md_footnotes.md