linux-mips
[Top] [All Lists]

Re: Re: sys_syscall patch.

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Re: sys_syscall patch.
From: "Zhang Fuxin" <fxzhang@ict.ac.cn>
Date: Mon, 24 Jun 2002 21:22:15 +0800
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Sender: owner-linux-mips@oss.sgi.com
hi,

======= 2002-06-24 12:24:00 you wrote:=======

>On Mon, Jun 24, 2002 at 12:06:52PM +0200, Carsten Langgaard wrote:
>
>> 
>> At least it makes my system work as well as for the 32-bit kernel.
>
>What programs btw are using syscall()?  To be honest I don't recall one ...
I used it in a userland checkpoint program to intercept syscalls.
>
>Looking more into it I found a nice showstopper - a few functions like
>_sys_sigsuspend() expect a struct pt_regs on the stack.  That's only
>working if we call those functions directly from the exception handler.
>It won't work if we have another function's stackframe - in this case
>sys_syscall()'s there also ...
>
>  Ralf

= = = = = = = = = = = = = = = = = = = =
                        

Best Regards
---------------------------------------
Zhang Fuxin
System Architecture Lab
Institute of Computing Technology
Chinese Academy of Sciences,China
http://www.ict.ac.cn
 
                                 2002-06-24





<Prev in Thread] Current Thread [Next in Thread>