mirror of
https://github.com/dynup/kpatch
synced 2025-02-04 19:21:33 +00:00
32c0fa5b44
This changes the way the trampoline code works, thanks to a suggestion by Steve Rostedt. Before, the trampoline was mucking with the stack pointer and other registers, and jumping to the new function directly. With this change, all it does is set regs->ip to the address of the new function and return back to ftrace. When ftrace returns, it will return to the beginning of the new function. |
||
---|---|---|
kmod | ||
kpatch-diff-gen | ||
.gitignore | ||
kpatch-create | ||
kpatch-gcc | ||
Makefile |