标题: get system call table in x86-64 Linux - 欢迎测试并报BUG [打印本页] 作者: albcamus 时间: 2007-01-18 18:08 标题: get system call table in x86-64 Linux - 欢迎测试并报BUG
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#include <asm/fcntl.h>
#include <asm/unistd.h>
#include <asm/ia32_unistd.h>
#include <asm/msr.h>
#define THIS_DESCRIPTION "Dynamically get sys_call_table/ia32_sys_call_table in kernel module.\n\t\tI don't think there would be anyone who won't enable CONFIG_IA32_EMULATION these days.\n\t\tso you can add the unessary check if you really want to."
MODULE_DESCRIPTION( THIS_DESCRIPTION );
MODULE_AUTHOR("albcamus <albcamus@gmail.com>");
MODULE_LICENSE("GPL");
/**
* TODO: if you want shut this up, comment the following line.