linux-mips
[Top] [All Lists]

Re: sys_syscall patch.

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: sys_syscall patch.
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 24 Jun 2002 13:45:49 +0200
Cc: Carsten Langgaard <carstenl@mips.com>, linux-mips@oss.sgi.com
In-reply-to: <Pine.GSO.3.96.1020624133501.22509K-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Mon, Jun 24, 2002 at 01:38:27PM +0200
References: <3D16F891.78A333BA@mips.com> <Pine.GSO.3.96.1020624133501.22509K-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Mon, Jun 24, 2002 at 01:38:27PM +0200, Maciej W. Rozycki wrote:

> > > What programs btw are using syscall()?  To be honest I don't recall one 
> > > ...
> > 
> > /sbin/rpc.lockd.
> > It use syscall() to indirectly call the 'sys_nfsservctl' syscall, why it
> > doesn't do the syscall directly is beyond me.
> 
>  Hmm, shouldn't syscall() be a library wrapper?  I think we should kill
> sys_syscall(). 

It's in the kernel for no better reason than Risc/OS and IRIX having this
syscall.  Also the glibc syscall implementation was historically broken
wrt. syscall restarting and a few other subtilities.

  Ralf

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