Runtime Kernel KMEM Patching
November 1998
https://spthvx.github.io/ezines/mtx1/articles/kmem.htm
Notes |
---|
kernel |
Linux |
LKM |
System.map |
ELF |
kmem |
hot patching |
lsmod |
Linux kernel |
symbol |
compiler |
/proc/ksyms |
/dev/kmem |
get_kernel_syms |
/dev/mem |
memory addressing |
virtual memory |
swap space |
random access |
string searching |
build-ksysms-keys.sh |
/usr/include/linux/module.h |
struct module |
string |
MOD_RUNNING |
cleanup_module() |
struct task_struct |
struct kernel_stat |
system call |
sys_call_table |
SMP |
instructions |
objdump |
machine code |
search key |
kroot |
NULL pointer |
kmalloc |
padding |
C |
printk |
relocation |
elf.h |
ELF header |
ELF section |
symbol table |
kmem-src.tgz |