ilammy / ftrace-hook

Using ftrace for function hooking in Linux kernel
GNU General Public License v2.0
253 stars 70 forks source link

hook do_syscall_64 failed #13

Open greedkiss opened 2 years ago

greedkiss commented 2 years ago

I try to hook do_syscall_64, it worked. But when I rmmod the .ko file, the kernel crashed. I hook do_syscall_64 like this and I haven't change the other code image