如果你正在撰寫回答常用問答集, 請把它加到 [:FAQInProgress:FAQInProgress.]

我如何 ... ?

  1. . /KernelCompilation 我如何 編譯核心?
  2. . /KernelCrossCompilation 我如何跨平臺編譯核心?
  3. . /DisklessImages 無磁碟開機簡介.
  4. . /HowToApplyAPatch 我如何應用修補程式.
  5. . KernelHackingTools 有任何好的IDE嗎? 我如何處理這些程式碼?
  6. . /CompileVendorDriver 我如何編譯第三方設備驅動程式?
  7. . /LinuxKernelModuleCompile 我如何編譯Linux核心模組?
  8. . /LinuxKernelDebug101 哪種方式最容易除錯?
  9. . CareerAdvice 我如何獲得像核心駭客的工作?
  10. . UpstreamMerge 我如何讓我的程式碼進入上遊核心?

核心心手 問題

  1. . /VariousKernelTrees 各類型的核心樹 有何作用?
  2. . /WhereDoIBegin 我從何開始?
  3. . /People 在 KernelNewBies 上我可以在#kernelnewbies遇到誰?
  4. . /DoINeedToKnowAssembler 我需要知到組合語言以便客探索核心嗎?
  5. . /DoINeedToKnowHardware 我需要知道許多硬體相關以探索核心嗎?
  6. . DoesNotWork 我建構我自己的核心, 但他沒有如期作用. 問題出在哪?

核心探索

  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 ?

Linux kernel gotchas

  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" ?

Hardware Questions

  1. . /HyperthreadingDoesNotWork My CPU says it can do hyperthreading. Why do I only see one thread?
    • . CategoryFAQ