Kernel character map mapped to virtual address space - why?

What are / proc / ksyms and / proc / kallsyms and why does it map to the process address space? What purpose does this serve? Is it used when switching the kernel during a system call?

+5
source share
1 answer

The Solaris help system ksyms(7d)explains this. The data is informative, the kernel provides its current symbol table for kernel debuggers and / or the kernel module loader this way through /dev/ksyms.

Linux does the same thing through /proc/kallsyms; /proc/ksyms- if present, it is a “traditional” file representing a subset of the same data (that is, it is outdated).

, Linux/Solaris, , Linux , Solaris - . nm /dev/ksyms Solaris, , cat /proc/kallsyms Linux.

+3

All Articles