- Dynamic System Calls & System Call Hijacking
PATCH 1/1 - Dynamic System Calls & System Call Hijacking
I have found a client for my stuff :-)
Should someone else be interested...
Description is in Documentation/dyn_syscall.
Signed-off-by Zoltán Menyhárt <[email protected]>
arch/ia64/Kconfig +8 -0
@@ -168,6 +168,14 @@ Access). This option is for configuring high-end multiprocessor server systems. If in doubt, say N. +config DYN_SYSCALL + tristate "Support for dynamic system calls" + default m + help + Say y / m if you want a module supporting to register / unregister or + to hijack / restore system calls. + If you are unsure, say m. + config VIRTUAL_MEM_MAP bool "Virtual mem map" default y if !IA64_HP_SIM
arch/ia64/kernel/dyn_syscall_asm.S +252 -0
252 lines not on this page · raw message
arch/ia64/kernel/dyn_syscall_main.c +995 -0
995 lines not on this page · raw message
arch/ia64/kernel/Makefile +4 -0
@@ -11,6 +11,7 @@ obj-$(CONFIG_IA64_BRL_EMU) += brl_emu.o obj-$(CONFIG_IA64_GENERIC) += acpi-ext.o obj-$(CONFIG_IA64_HP_ZX1) += acpi-ext.o +obj-$(CONFIG_DYN_SYSCALL) += dyn_syscall.o obj-$(CONFIG_IA64_PALINFO) += palinfo.o obj-$(CONFIG_IOSAPIC) += iosapic.o obj-$(CONFIG_MODULES) += module.o
@@ -48,3 +49,6 @@ # We must build gate.so before we can assemble it. # Note: kbuild does not track this dependency due to usage of .incbin $(obj)/gate-data.o: $(obj)/gate.so + +# Dynamic system calls +dyn_syscall-objs := dyn_syscall_asm.o dyn_syscall_main.o
Documentation/dyn_syscall/foo.c +69 -0
69 lines not on this page · raw message
Documentation/dyn_syscall/man_pages +236 -0
236 lines not on this page · raw message
Documentation/dyn_syscall/readme +142 -0
142 lines not on this page · raw message
Documentation/dyn_syscall/test.c +67 -0
67 lines not on this page · raw message
include/asm-ia64/dyn_syscall.h +184 -0
184 lines not on this page · raw message