summaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-ssh-agent.c
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-10-01 02:15:00 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-10-01 02:15:00 +0000
commit5ef0f821ecc6c892cb7a8ca232a24b7c0e3e5aab (patch)
tree6ff9cc19519ac6305e49ca7c114a0760410a7ae5 /security/openssh-portable/files/patch-ssh-agent.c
parent- New ports: games/ufoai games/ufoai-data (diff)
- Update to 4.4p1.
- Disable temporary HPN patch until HPN release new version. - Fix rc.d script path in sshd.8 - Add FreeBSD-${PKGNAME} in SSH_VERSION and SSH_RELEASE like src does. - Sync patches with src. Security: CVE-2006-4924, CVE-2006-5051
Notes
Notes: svn path=/head/; revision=174213
Diffstat (limited to 'security/openssh-portable/files/patch-ssh-agent.c')
-rw-r--r--security/openssh-portable/files/patch-ssh-agent.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/openssh-portable/files/patch-ssh-agent.c b/security/openssh-portable/files/patch-ssh-agent.c
new file mode 100644
index 000000000000..a9f760bb3dc1
--- /dev/null
+++ b/security/openssh-portable/files/patch-ssh-agent.c
@@ -0,0 +1,10 @@
+--- ssh-agent.c.orig Fri Sep 1 02:38:37 2006
++++ ssh-agent.c Sat Sep 30 18:30:32 2006
+@@ -1036,6 +1036,7 @@
+ /* drop */
+ setegid(getgid());
+ setgid(getgid());
++ setuid(geteuid());
+
+ #if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE)
+ /* Disable ptrace on Linux without sgid bit */