exporting the sys_call_table for kernel 2.6.x
hello,
we are referring to this link for exporting the system call table: softice.lakeland.usf.edu/wiki/index.php/OSC:System_Call_Interception We first compiled the kernl 2.6.18.We have it installed and running. According to this page we add these to lines to the /arch/um/kernel/ksyms.c extern void* sys_call_table[]; EXPORT_SYMBOL(sys_call_table); After writing this executed the following command on the terminal: make ARCH=um linux We got the following error: ------------------------------------------------------------------- [root@localhost linux-2.6.19]# make ARCH=um linux SYMLINK arch/um/include/kern_constants.h SYMLINK arch/um/include/sysdep make[1]: `arch/um/sys-i386/user- offsets.s' is up to date. CHK include/linux/version.h CHK include/linux/utsrelease.h CC arch/um/kernel/asm-offsets.s In file included from arch/um/kernel/asm-offsets.c:1: arch/um/include/sysdep/kernel- offsets.h: In function 'foo': arch/um/include/sysdep/kernel-offsets.h:20: error: 'struct thread_struct' has no member named 'arch' In file included from arch/um/include/sysdep/kernel-offsets.h:21, from arch/um/kernel/asm- offsets.c:1: arch/um/include/common-offsets.h:8: error: 'struct thread_struct' has no member named 'regs' make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 [root@localhost linux-2.6.19]# ------------------------------------------------------------------- :Pengy: |
All times are GMT -5. The time now is 04:32 PM. |