Dynamic System Calls & System Call Hijacking - patch
arch/ia64/Kconfig +8 -0
@@ -218,6 +218,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 m if you want a module supporting to register / unregister or + to hijack / restore system calls. + This stuff is not foreseen to run inside the kernel. + config VIRTUAL_MEM_MAP bool "Virtual mem map" default y if !IA64_HP_SIM
arch/ia64/kernel/Makefile +3 -0
@@ -18,8 +18,11 @@ obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_SMP) += smp.o smpboot.o obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o +obj-$(CONFIG_DYN_SYSCALL) += dyn_syscall.o obj-$(CONFIG_IA64_CYCLONE) += cyclone.o +dyn_syscall-objs := dyn_syscall_asm.o dyn_syscall_main.o + # The gate DSO image is built using a special linker script. targets += gate.so gate-syms.o
arch/ia64/kernel/dyn_syscall_asm.S +252 -0
252 lines not on this page · raw message
arch/ia64/kernel/dyn_syscall_main.c +903 -0
903 lines not on this page · raw message
include/asm-ia64/dyn_syscall.h +151 -0
151 lines not on this page · raw message
Documentation/dyn_syscall.txt renamed from D*/dyn*txt +303 -0
303 lines not on this page · raw message