]> granicus.if.org Git - strace/commitdiff
2005-12-01 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Fri, 2 Dec 2005 04:18:55 +0000 (04:18 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 2 Dec 2005 04:18:55 +0000 (04:18 +0000)
* ipc.c (indirect_ipccall) [IA64]: Return false unless the syscall
number is in the low range of IA32 syscalls.

ipc.c

diff --git a/ipc.c b/ipc.c
index d16f70a9a73c0d100db0b553412d5c062b89c9ba..baec4240de97c63525455cd26ae162d22a0dbe34 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -185,7 +185,8 @@ struct tcb *tcp;
 #ifdef X86_64
        return current_personality > 0;
 #endif
-       return 1;
+#if defined IA64
+       return tcp->scno < 1024; /* ia32 emulation syscalls are low */
 #endif
        return 0;
 }