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