getty needs fd 0 to stay open.
The O_CLOEXEC reversal resulted in login failing.