I'm hooking system calls on Linux 2.6.32 x86-32.
However, I find that in the system call table, __NR_execve
is pointing to ptregs_execve
rather than sys_execve
. And, I can't find the function definition of ptregs_execve
anywhere.
Can anyone help me clarify the difference or relationship between ptregs_execve
and sys_execve? I know for the um architecture, ptregs_execve
is defined as sys_execve
. How about other architectures?