Size: 3574
Comment:
|
Size: 3226
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
If you are working on answering a frequently asked question, please add it to FAQsInProgress. | 如果你正在撰寫回答常用問答集, 請把它加到 [:FAQInProgress:FAQInProgress.] |
Line 3: | Line 3: |
How do I ...? | 我如何 ... ? |
Line 5: | Line 5: |
1. /KernelCompilation How do I compile a kernel? 2. /KernelCrossCompilation How do I cross compile a kernel? 3. /DisklessImages An Introduction to Diskless Booting. 4. /HowToApplyAPatch How do I apply a patch? 5. KernelHackingTools Are there any good IDEs? How do I handle all this code? 6. /CompileVendorDriver How do I compile a 3rd party device driver ? 7. /LinuxKernelModuleCompile How can I compile a Linux Kernel Module ? 8. /LinuxKernelDebug101 Whats the easiest way to debug ? 9. CareerAdvice How do I get a job as kernel hacker? 10. UpstreamMerge How do I get my code into the upstream kernel? |
1. . /KernelCompilation 我如何 編譯核心? 1. . /KernelCrossCompilation 我如何跨平臺編譯核心? 1. . /DisklessImages 無磁碟開機簡介. 1. . /HowToApplyAPatch 我如何應用修補程式. 1. . KernelHackingTools 有任何好的IDE嗎? 我如何處理這些程式碼? 1. . /CompileVendorDriver 我如何編譯第三方設備驅動程式? 1. . /LinuxKernelModuleCompile 我如何編譯Linux核心模組? 1. . /LinuxKernelDebug101 Whats the easiest way to debug ? 1. . CareerAdvice How do I get a job as kernel hacker? 1. . UpstreamMerge How do I get my code into the upstream kernel? |
Line 38: | Line 17: |
1. /VariousKernelTrees What are the various kernel trees for ? 2. /WhereDoIBegin Where do I begin? 3. /People on KernelNewBies Who can I find on #kernelnewbies? 4. /DoINeedToKnowAssembler Do I need to know assembler to hack the kernel? 5. /DoINeedToKnowHardware Do I need to know a lot about hardware to hack the kernel? 6. DoesNotWork I built my own kernel, but it does not work. What's the problem? |
1. . /VariousKernelTrees What are the various kernel trees for ? 1. . /WhereDoIBegin Where do I begin? 1. . /People on KernelNewBies Who can I find on #kernelnewbies? 1. . /DoINeedToKnowAssembler Do I need to know assembler to hack the kernel? 1. . /DoINeedToKnowHardware Do I need to know a lot about hardware to hack the kernel? 1. . DoesNotWork I built my own kernel, but it does not work. What's the problem? |
Line 59: | Line 25: |
1. /VariousKernelTrees What are the various kernel trees for ? 2. /System.map What is the System.map file? 3. /MajorMinor What major/minor does XXX have ? 4. /CodingStyle What coding style should I use? 5. /LikelyUnlikely What means the macros likely() and unlikely() ? 6. /Preemption What does preemption mean ? Is it available under Linux ? 7. /LibraryFunctionsInKernel Can I use library functions in the kernel ? 8. /SyscallTrace How do I intercept system calls ? 9. /LinkedLists How does the kernel implements linked lists? 10. /WhyWritingFilesFromKernelIsBad Why reading/writing files from the kernel is bad, and how to do otherwise ? |
1. . /VariousKernelTrees What are the various kernel trees for ? 1. . /System.map What is the System.map file? 1. . /MajorMinor What major/minor does XXX have ? 1. . /CodingStyle What coding style should I use? 1. . /LikelyUnlikely What means the macros likely() and unlikely() ? 1. . /Preemption What does preemption mean ? Is it available under Linux ? 1. . /LibraryFunctionsInKernel Can I use library functions in the kernel ? 1. . /SyscallTrace How do I intercept system calls ? 1. . /LinkedLists How does the kernel implements linked lists? 1. . /WhyWritingFilesFromKernelIsBad Why reading/writing files from the kernel is bad, and how to do otherwise ? |
Line 92: | Line 37: |
1. /get current How does get_current() work? 2. /current How does the current macro helps you access your process-related record? 3. /ExternAndStaticInlineVariable What's the difference between extern and static inline? 4. /DoWhile0 Why do a lot of #defines in the kernel use do { ... } while (0)? 5. /LikelyUnlikely What do the macros likely() and unlikely() mean? 6. /ContainerOf What is container_of ? How does it work ? 7. /InitExitMacros What are the __init and __exit macros ? 8. /WhereIs bad udelay Now, where is __bad_udelay defined? 9. /asmlinkage What is asmlinkage ? 10. /down What is that jmp 1b doing out there? 11. /TestWpBit test_wp_bit magic, or how exception fixups work. 12. /BUG How does BUG() work? 13. /StackTrace 1. Why is there a function on my stack trace that does not get called? 2. How do I manually get a stack trace? 14. BootSectorAndKernelImage Why does the kernel no longer directly boot from floppy? 15. /FastpathAndSlowpath What is the difference between terms: "Fast path" and "Slow path" ? |
1. . /get current How does get_current() work? 1. . /current How does the current macro helps you access your process-related record? 1. . /ExternAndStaticInlineVariable What's the difference between extern and static inline? 1. . /DoWhile0 Why do a lot of #defines in the kernel use do { ... } while (0)? 1. . /LikelyUnlikely What do the macros likely() and unlikely() mean? 1. . /ContainerOf What is container_of ? How does it work ? 1. . /InitExitMacros What are the __init and __exit macros ? 1. . /WhereIs bad udelay Now, where is __bad_udelay defined? __ 1. . /asmlinkage What is asmlinkage ? 1. . /down What is that jmp 1b doing out there? 1. . /TestWpBit test_wp_bit magic, or how exception fixups work. 1. . /BUG How does BUG() work? 1. . /StackTrace 1. Why is there a function on my stack trace that does not get called? 1. How do I manually get a stack trace? 1. . BootSectorAndKernelImage Why does the kernel no longer directly boot from floppy? 1. . /FastpathAndSlowpath What is the difference between terms: "Fast path" and "Slow path" ? |
Line 142: | Line 56: |
1. /HyperthreadingDoesNotWork My CPU says it can do hyperthreading. Why do I only see one thread? * CategoryFAQ |
1. . /HyperthreadingDoesNotWork My CPU says it can do hyperthreading. Why do I only see one thread? * . CategoryFAQ |
如果你正在撰寫回答常用問答集, 請把它加到 [:FAQInProgress:FAQInProgress.]
我如何 ... ?
. /KernelCompilation 我如何 編譯核心?
. /KernelCrossCompilation 我如何跨平臺編譯核心?
. /DisklessImages 無磁碟開機簡介.
- . /HowToApplyAPatch 我如何應用修補程式.
. KernelHackingTools 有任何好的IDE嗎? 我如何處理這些程式碼?
. /CompileVendorDriver 我如何編譯第三方設備驅動程式?
. /LinuxKernelModuleCompile 我如何編譯Linux核心模組?
. /LinuxKernelDebug101 Whats the easiest way to debug ?
. CareerAdvice How do I get a job as kernel hacker?
. UpstreamMerge How do I get my code into the upstream kernel?
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?
- . /DoINeedToKnowHardware Do I need to know a lot about hardware to hack the kernel?
. DoesNotWork I built my own kernel, but it does not work. What's the problem?
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 ?
. /WhereIs bad 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?
- Why is there a function on my stack trace that does not get called?
- How do I manually get a stack trace?
. BootSectorAndKernelImage Why does the kernel no longer directly boot from floppy?
. /FastpathAndSlowpath What is the difference between terms: "Fast path" and "Slow path" ?
Hardware Questions
. /HyperthreadingDoesNotWork My CPU says it can do hyperthreading. Why do I only see one thread?
- . CategoryFAQ