CVSROOT: /cvs Module name: src Changes by: dtuc...@cvs.openbsd.org 2020/01/23 00:10:23
Modified files: usr.bin/ssh : auth.c auth2-pubkey.c clientloop.c misc.c misc.h monitor.c mux.c progressmeter.c readconf.c readpass.c scp.c serverloop.c session.c sftp.c ssh-agent.c ssh-sk-client.c ssh.c sshbuf.c sshconnect.c sshconnect2.c sshd.c Log message: Replace all calls to signal(2) with a wrapper around sigaction(2). This wrapper blocks all other signals during the handler preventing races between handlers, and sets SA_RESTART which should reduce the potential for short read/write operations.