linux kernel module use ftrace hook syscall infinity loop
My kernel version is 6.8
and the ftrace callback function looks like:
(We set USE_FENTRY_OFFSET to zero, prevent ftrace recursive by checking the address)
My kernel version is 6.8
and the ftrace callback function looks like:
(We set USE_FENTRY_OFFSET to zero, prevent ftrace recursive by checking the address)