> If not, is it a bug in the tty layer? Our tty layer has always done this. > Does Posix say than an open() may fail if it's called while another > process is calling close()? IOW, is user-space code expected to retry > an open() call that returns EIO? [I've never seen user-space code > that did that...] Interesting question. I've never liked the fact we do it (its rude to the userspace) but it's not clear what the correct semantics are of an open as a port closes, given the close must complete first including any drains and control changes and the open may well not expect to block or hang for a long time. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html