2142
Comment:
|
2614
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
1. ["/KernelCrossCompilation"] How do I cross compile a kernel? | |
Line 7: | Line 8: |
1. ["/IDEs"] Are there any good IDEs? How do I handle all this code? | 1. ["KernelHackingTools"] Are there any good IDEs? How do I handle all this code? |
Line 10: | Line 11: |
1. ["/LinuxKernelDebug101"] Whats the easiest way to debug ? | |
Line 16: | Line 18: |
1. ["/DoINeedToKnowAssembler"] Do I need to know assembler to hack the kernel? | |
Line 28: | Line 31: |
1. ["/WhyWritingFilesFromKernelIsBad"] Why reading/writing files from the kernel is bad, and how to do otherwise ? | |
Line 37: | Line 41: |
1. ["/InitExitMacros"] What are the __init and __exit macros ? 1. ["/WhereIs__bad_udelay"] Now, where is __bad_udelay defined? |
1. ["/InitExitMacros"] What are the _``_init and _``_exit macros ? 1. ["/WhereIs__bad_udelay"] Now, where is _``_bad_udelay defined? |
Line 41: | Line 45: |
1. ["/TestWpBit"] How test_wp_bit works, or "how do I use exceptions?" | 1. ["/TestWpBit"] test_wp_bit magic, or how exception fixups work. 1. ["/BUG"] How does BUG() work? 1. ["/StackTrace"] Why is there a function on my stack trace that does not get called? |
If you are working on answering a frequently asked question, please add it to ["FAQsInProgress"].
How do I ...?
["/KernelCompilation"] How do I compile a kernel?
["/KernelCrossCompilation"] How do I cross compile a kernel?
- ["/HowToApplyAPatch"] How do I apply a patch?
["KernelHackingTools"] Are there any good IDEs? How do I handle all this code?
["/CompileVendorDriver"] How do I compile a 3rd party device driver ?
["/LinuxKernelModuleCompile"] How can I compile a Linux Kernel Module ?
["/LinuxKernelDebug101"] Whats the easiest way to debug ?
Kernelnewbies questions
["/VariousKernelTrees"] What are the various kernel trees for ?
- ["/WhereDoIBegin"] Where do I begin?
["/People on KernelNewBies"] Who can I find on #kernelnewbies?
- ["/DoINeedToKnowAssembler"] Do I need to know assembler to hack the kernel?
Kernel hacking
["/VariousKernelTrees"] What are the various kernel trees for ?
- ["/System.map"] What is the System.map file?
["/MajorMinor"] What major/minor does XXX have ?
["/CodingStyle"] What coding style should I use?
["/LikelyUnlikely"] What means the macros likely() and unlikely() ?
- ["/Preemption"] What does preemption mean ? Is it available under Linux ?
["/LibraryFunctionsInKernel"] Can I use library functions in the kernel ?
["/SyscallTrace"] How do I intercept system calls ?
["/LinkedLists"] How does the kernel implements linked lists?
["/WhyWritingFilesFromKernelIsBad"] Why reading/writing files from the kernel is bad, and how to do otherwise ?
Linux kernel gotchas
["/get_current"] How does get_current() work?
["/current"] How does the current macro helps you access your process-related record?
["/ExternAndStaticInlineVariable"] What's the difference between extern and static inline?
["/DoWhile0"] Why do a lot of #defines in the kernel use do { ... } while (0)?
["/LikelyUnlikely"] What do the macros likely() and unlikely() mean?
["/ContainerOf"] What is container_of ? How does it work ?
["/InitExitMacros"] What are the __init and __exit macros ?
["/WhereIsbad_udelay"] Now, where is __bad_udelay defined?
["/asmlinkage"] What is asmlinkage ?
- ["/down"] What is that jmp 1b doing out there?
["/TestWpBit"] test_wp_bit magic, or how exception fixups work.
- ["/BUG"] How does BUG() work?
["/StackTrace"] Why is there a function on my stack trace that does not get called?
["CategoryFAQ"]