Subject: Re: COMPAT_LINUX: pause() return value
To: Emmanuel Dreyfus <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 03/21/2001 15:20:29
On Wed, Mar 21, 2001 at 11:19:11PM +0100, Emmanuel Dreyfus wrote:
> It seems we have an inconsitency in the return value of
> linux_sys_pause(): it returns EINTR through sigsuspend1(), and Linux's
> pause() returns ERESTARTNOHAND, at least on i386, PowerPC and m68k (I
> haven't found for alpha).
> Any objection changing this?
ERESTARTNOHAND is caught by the Linux syscall stub -- in the kernel --
and is never returned to user-level code. What exactly do you want to
change it *to*?