Re: pselect/etc semantics

From: Oleg Nesterov
Date: Thu May 30 2019 - 12:12:10 EST


On 05/30, Eric W. Biederman wrote:
>
> ebiederm@xxxxxxxxxxxx (Eric W. Biederman) writes:
>
> > Which means I believe we have a semantically valid change in behavior
> > that is causing a regression.
>
> I haven't made a survey of all of the functions yet but
> fucntions return -ENORESTARTNOHAND will never return -EINTR and are
> immune from this problem.

Hmm. handle_signal:

case -ERESTARTNOHAND:
regs->ax = -EINTR;
break;

but I am not sure I understand which problem do you mean..

Oleg.