ilammy / ftrace-hook

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

Support Linux kernels 4.17+ #3

Closed ilammy closed 5 years ago

ilammy commented 5 years ago

It turns out that Linux 4.17 has changed the naming convention of system call handlers for x86_64. Let's use the new names on those kernels.

See the "x86 updates for 4.17" pull from Thomas Gleixner on 2018-04-15 for details on the in-kernel changes.

Closes #2

ilammy commented 5 years ago

@StephGbzh please try this out, it should fix the hooking on Ubuntu 18.10.