angler-fishThe Vulnerability History Project

machined: when opening a shell via machined, pass tty fds in

      With this change we'll open the shell's tty right from machined and then
pass it to the transient unit we create. This way we make sure the pty
is opened exactly as long as the transient service is around, and no
longer, and vice versa. This way pty forwarders do not have to deal with
EIO problems due to vhangup, as the pty is open all the time from the
point we set things up to the point where the service goes away.
    
commit 40e1f4ea7458a0a80eaf1ef356e52bfe0835412e
-48
-1
+9 -12
-19
-1
+1 -1
expand_less