Read kernel symbols from ELF symbol table.
commit73cedda74627f9017d6071aba072d61ee15c81fb
authorJoshua Phillips <jp.sittingduck@gmail.com>
Mon, 16 Feb 2009 21:47:33 +0000 (16 21:47 +0000)
committerJoshua Phillips <jp.sittingduck@gmail.com>
Mon, 16 Feb 2009 21:47:33 +0000 (16 21:47 +0000)
tree5ae8c85dff5f17578a5016de917c81359af56f7e
parentd097031b64efdcd7a5b602ab1edab3b52606378b
Read kernel symbols from ELF symbol table.

Read the kernel symbols from the ELF symbol table, with a little help
from the Multiboot information structure. This avoids explicitly listing
the symbols in exports.inc.

Note that kernel modules run with full kernel privileges, so it's not a
problem that a kernel module can use any kernel symbol - they can do far
worse things than that!
kernel/elf.h
kernel/exports.inc [deleted file]
kernel/kmain.c
kernel/multiboot.h
kernel/symtab.c