Rename syscall_fixup to syscall_fixup_on_sysenter

* 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>
This commit is contained in:
Denys Vlasenko 2011-08-25 10:40:14 +02:00
parent f20bff6a73
commit 8b4454cba7
2 changed files with 4 additions and 3 deletions

3
defs.h
View File

@ -462,7 +462,8 @@ struct tcb {
#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) \

View File

@ -1245,7 +1245,7 @@ known_scno(struct tcb *tcp)
* ("????" 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);
@ -1697,7 +1697,7 @@ trace_syscall_entering(struct tcb *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)