[Top] [All Lists]

Re: sys_syscall patch.

To: "Maciej W. Rozycki" <>, "Carsten Langgaard" <>
Subject: Re: sys_syscall patch.
From: "Kevin D. Kissell" <>
Date: Mon, 24 Jun 2002 14:02:49 +0200
Cc: "Ralf Baechle" <>, <>
References: <>
From: "Maciej W. Rozycki" <>
> On Mon, 24 Jun 2002, Carsten Langgaard 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.

I can only speculate that at the time it was written, there was not
a universally respected library binding to get to the direct syscall.

>  Hmm, shouldn't syscall() be a library wrapper?  I think we should kill
> sys_syscall(). 

While I agree that rpc.lockd should directly invoke the desired
system call if possible, having an indirect system call mechanism
is something that has proved useful to me in the past on other
Unices, and I would rather see it fixed than discarded.

            Kevin K.

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