Re: Strange Linux behaviour with blocking syscalls and stop signals+SIGCONT

From: Ulrich Drepper
Date: Fri Jul 07 2006 - 02:19:27 EST


Michael Kerrisk wrote:
> Yes; this is why I'm only proposing to change EINTR to ERESTARTNOHAND
> at the moment. The only userspace visible change that I think
> this will bring about is in the stop+SIGCONT case.

That's fine.


> Changing EINTR
> to ERESTARTSYS is likely to have more impact on userland (though
> it still strikes me as a desirable gola to have all system calls
> restartable via SA_RESTART).

This is certainly a nice goal but it changes the current ABI. Therefore
it cannot be anything but an option and I don't assume we want to add so
much cruft for just this.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature