You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() nested_test was failing due to the recent change to centralize O_CLOEXEC, since stdout and stderr were being marked as non-inheritable. That meant child processes would start with no stdout/stderr, triggering a race between Waker opening its pipes, and IoLogger dup2'ing its pipes over the stdio handles. Since the stdio handles were closed, Waker would receive one of them as one end of its pipe, and consequently have it overwritten by IoLogger. When IoLogger dups over the top of fd 2, it becomes possible for Waker.on_read() to be called due to pipe's other end to be closed, causing an OSError exception with errno EAGAIN to appear. |
6 years ago | |
---|---|---|
.. | ||
compat | 6 years ago | |
__init__.py | 6 years ago | |
core.py | 6 years ago | |
debug.py | 6 years ago | |
docker.py | 6 years ago | |
fakessh.py | 6 years ago | |
fork.py | 6 years ago | |
master.py | 6 years ago | |
parent.py | 6 years ago | |
service.py | 6 years ago | |
ssh.py | 6 years ago | |
sudo.py | 6 years ago | |
unix.py | 6 years ago | |
utils.py | 6 years ago |