summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshpty.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-07-09 14:42:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-07-09 14:42:28 +0000
commit9e854c8465a5d4078ce824c4c519af429c8f71cb (patch)
treeb61f91522998aefeee8947576ff79e457c295078 /usr.bin/ssh/sshpty.c
parent21b69b673c1b8cf380e9675783271b47ac6f4902 (diff)
Use sigaction() instead of signal() in the parent and use the
SA_NOCLDSTOP flag for the SIGCHLD handler so the kernel does not notify us when the child has been stopped, only when it exits. Fixes a problem where if you suspended the child process the parent would exit. OK otto@
Diffstat (limited to 'usr.bin/ssh/sshpty.c')
0 files changed, 0 insertions, 0 deletions