linux_kernel_hacking icon indicating copy to clipboard operation
linux_kernel_hacking copied to clipboard

How do you bring all the modules together?

Open tangzichengcc opened this issue 1 year ago • 0 comments

I want to integrate all the functions in one file, but, I meet lots of bug, For example, static struct ftrace_hook hooks[] = { HOOK("sys_getdents64", hook_getdents64, &orig_getdents64), HOOK("sys_getdents", hook_getdents, &orig_getdents), HOOK("tcp4_seq_show", hook_tcp4_seq_show, &orig_tcp4_seq_show), };

this will lead to printk(KERN_DEBUG "rootkit: unresolved symbol: %s\n", hook->name);

I don't know why , can you help me ??? thank you !!!!

tangzichengcc avatar Oct 19 '22 13:10 tangzichengcc