Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- killed
- #include <linux/kernel.h>
- #include <linux/module.h>
- #include <linux/moduleparam.h>
- #include <linux/unistd.h>
- #include <asm/uaccess.h>
- void **sys_call_table;
- int module_ini(void)
- {
- write_cr0 (read_cr0 () & (~ 0x10000));\read write memory access
- sys_call_table=(void*)0Xc18251c0;\my symbol address from System.map file
- printk(sys_call_table[__NR_read])//printing out here my problem
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement