summaryrefslogtreecommitdiff
path: root/security/ssh/patches/patch-ao
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>1998-02-12 14:27:00 +0000
committermrg <mrg@pkgsrc.org>1998-02-12 14:27:00 +0000
commit27305e22c1f32e86a146f131ca4b10cb096d8ca8 (patch)
tree9558c3783e4e30d9b511be2b7bd91c3a9a90bd3d /security/ssh/patches/patch-ao
parent16e0bc77e56dfceeaa42832d95d2265a2720a938 (diff)
downloadpkgsrc-27305e22c1f32e86a146f131ca4b10cb096d8ca8.tar.gz
add features/fixes from <jbernard@tater.mines.edu> in pr#4928
Diffstat (limited to 'security/ssh/patches/patch-ao')
-rw-r--r--security/ssh/patches/patch-ao28
1 files changed, 15 insertions, 13 deletions
diff --git a/security/ssh/patches/patch-ao b/security/ssh/patches/patch-ao
index 314d60a8c4b..a4a67e43f21 100644
--- a/security/ssh/patches/patch-ao
+++ b/security/ssh/patches/patch-ao
@@ -1,14 +1,16 @@
Index: newchannels.c
---- newchannels.c.orig Tue Apr 22 17:40:11 1997
-+++ newchannels.c Sat Jul 19 11:42:06 1997
-@@ -2139,6 +2139,10 @@
- ssh-agent connections on your system */
- old_umask = umask(S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH);
-
-+ /* Make sure the socket doesn't already exist, left over from a system
-+ crash perhaps. */
-+ unlink(channel_forwarded_auth_socket_name);
-+
- if (bind(sock, (struct sockaddr *)&sunaddr, AF_UNIX_SIZE(sunaddr)) < 0)
- packet_disconnect("Agent socket bind failed: %.100s", strerror(errno));
-
+*** newchannels.c.orig Tue Jan 20 05:24:06 1998
+--- newchannels.c Tue Jan 20 20:42:58 1998
+***************
+*** 2324,2329 ****
+--- 2324,2333 ----
+ ssh-agent connections on your system */
+ old_umask = umask(S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH);
+
++ /* Make sure the socket doesn't already exist, left over from a system
++ crash perhaps. */
++ unlink(channel_forwarded_auth_socket_name);
++
+ if (bind(sock, (struct sockaddr *)&sunaddr, AF_UNIX_SIZE(sunaddr)) < 0)
+ packet_disconnect("Agent socket bind failed: %.100s", strerror(errno));
+