ssh client is setting O_NONBLOCK on a pipe shared with other processes

Darren Tucker dtucker at dtucker.net
Mon Sep 16 13:16:11 AEST 2019


On Mon, 16 Sep 2019 at 01:18, Doug Graham <edougra at gmail.com> wrote:
[...]
> Make occasionally gets an unexpected EAGAIN error and fails the build
> with the error message "make: write error".

So the make process gets an EAGAIN on the write syscall and doesn't
retry?  That sounds like a bug in whatever make you're using, since
that could potentially occur in other circumstances too.

(Same goes for EWOULDBLOCK, as well as EINTR if you don't have
restartable syscalls).

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list