From a81bf4c79f9f2706cd1bea0082fb8d63f08e8a5b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Dec 2005 04:18:55 +0000 Subject: [PATCH] 2005-12-01 Roland McGrath * ipc.c (indirect_ipccall) [IA64]: Return false unless the syscall number is in the low range of IA32 syscalls. --- ipc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipc.c b/ipc.c index d16f70a9..baec4240 100644 --- 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; } -- 2.50.1