Commit f3a6d5ec authored by Tyler Nichols's avatar Tyler Nichols

Added a useful comment.

parent 89d923da
......@@ -8,9 +8,11 @@
#include "hooks.h"
/*
* TODO Find a way to resolve this address dynamically.
* For now, find this value using:
* sudo cat System.map-$(uname -r) | grep 'sys_call_table'
* And hard code it here.
*/
unsigned long *syscall_table = (unsigned long *)0xffffffff81801400;
asmlinkage int (*original_write)(unsigned int, const char __user *, size_t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment