From 45d207659b68d8977011c808fd471025e1cc0cf8 Mon Sep 17 00:00:00 2001 From: green Date: Fri, 8 Jun 2001 22:22:09 +0000 Subject: Switch to the user's uid before attempting to unlink the auth forwarding file, nullifying the effects of a race. Obtained from: OpenBSD --- crypto/openssh/channels.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/openssh/channels.h') diff --git a/crypto/openssh/channels.h b/crypto/openssh/channels.h index 0085199..16ddde5 100644 --- a/crypto/openssh/channels.h +++ b/crypto/openssh/channels.h @@ -304,6 +304,7 @@ int auth_input_request_forwarding(struct passwd * pw); void auth_input_open_request(int type, int plen, void *ctxt); /* XXX */ +void auth_sock_cleanup_proc(void *pw); int channel_connect_to(const char *host, u_short host_port); int channel_connect_by_listen_adress(u_short listen_port); int x11_connect_display(void); -- cgit v1.1