summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/channels.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-06-08 22:22:09 +0000
committergreen <green@FreeBSD.org>2001-06-08 22:22:09 +0000
commit45d207659b68d8977011c808fd471025e1cc0cf8 (patch)
treed945952bf9999a73a288dfc6c242e59d0687d690 /crypto/openssh/channels.h
parent0ca270a59bcccae9315258dbea53ddc23e16779d (diff)
downloadFreeBSD-src-45d207659b68d8977011c808fd471025e1cc0cf8.zip
FreeBSD-src-45d207659b68d8977011c808fd471025e1cc0cf8.tar.gz
Switch to the user's uid before attempting to unlink the auth forwarding
file, nullifying the effects of a race. Obtained from: OpenBSD
Diffstat (limited to 'crypto/openssh/channels.h')
-rw-r--r--crypto/openssh/channels.h1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud