* defs.h: Tweak comment.
* syscall.c: Rename syscall_fixup to syscall_fixup_on_sysenter.
(trace_syscall_entering): Use new finction name.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
#ifdef LINUX
/* x86 does not need TCB_WAITEXECVE.
* It can detect SIGTRAP by looking at eax/rax.
- * See "not a syscall entry (eax = %ld)\n" message in syscall_fixup().
+ * See "not a syscall entry (eax = %ld)\n" message
+ * in syscall_fixup_on_sysenter().
*/
# if defined(ALPHA) || defined(AVR32) || defined(SPARC) || defined(SPARC64) \
|| defined(POWERPC) || defined(IA64) || defined(HPPA) \
* ("????" etc) and bail out.
*/
static int
-syscall_fixup(struct tcb *tcp)
+syscall_fixup_on_sysenter(struct tcb *tcp)
{
#ifdef USE_PROCFS
int scno = known_scno(tcp);
if (res == 0)
return res;
if (res == 1)
- res = syscall_fixup(tcp);
+ res = syscall_fixup_on_sysenter(tcp);
if (res == 0)
return res;
if (res == 1)