Re: another subtle signals issue

From: Linus Torvalds (
Date: Tue Feb 11 2003 - 22:38:16 EST

On Tue, 11 Feb 2003, Roland McGrath wrote:
> There is no argument about this. Dan and I are talking about real cases
> that are definitely specified by POSIX, and you have not responded about them.

First off, realize that

 - POSIX is less relevant than "what the 2.4.x" do. MUCH less. Binary
   compatibility is very important, much more so than some paper standard.

 - and even if you care 100% about POSIX, that still leaves the fact that
   everybody who has ever implemented POSIX also did their "this is how we
   differ" exception lists. It's part of the process.

With that out of the way, I think I _did_ respond about them: ^Z _will_
cause interruptible system calls to return EINTR/ERESTARTNOHAND or one of
the versions thereof. There are no ifs, buts and maybes about it. It will
happen. It's very fundamental to how Linux signal handling and job control
has always worked, and it's not even worth worrying about it (see above on
_why_ it's not worth worrying about).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:37 EST