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:
parent
f20bff6a73
commit
8b4454cba7
3
defs.h
3
defs.h
@ -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) \
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user