forked from Lainports/freebsd-ports
- 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
10 lines
288 B
C
10 lines
288 B
C
--- 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 */
|