Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssh/dist initialize the pfilter for ...
details: https://anonhg.NetBSD.org/src/rev/a78119cc7ba7
branches: trunk
changeset: 336153:a78119cc7ba7
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 14 19:05:29 2015 +0000
description:
initialize the pfilter for the privilege-separated copy (Frank Kardel)
diffstat:
crypto/external/bsd/openssh/dist/sshd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r dda5d91c5938 -r a78119cc7ba7 crypto/external/bsd/openssh/dist/sshd.c
--- a/crypto/external/bsd/openssh/dist/sshd.c Sat Feb 14 17:28:19 2015 +0000
+++ b/crypto/external/bsd/openssh/dist/sshd.c Sat Feb 14 19:05:29 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sshd.c,v 1.16 2015/01/25 15:52:44 christos Exp $ */
+/* $NetBSD: sshd.c,v 1.17 2015/02/14 19:05:29 christos Exp $ */
/* $OpenBSD: sshd.c,v 1.428 2014/07/15 15:54:14 millert Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -44,7 +44,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: sshd.c,v 1.16 2015/01/25 15:52:44 christos Exp $");
+__RCSID("$NetBSD: sshd.c,v 1.17 2015/02/14 19:05:29 christos Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
@@ -628,6 +628,8 @@
explicit_bzero(pw->pw_passwd, strlen(pw->pw_passwd));
endpwent();
+ pfilter_init();
+
/* Change our root directory */
if (chroot(_PATH_PRIVSEP_CHROOT_DIR) == -1)
fatal("chroot(\"%s\"): %s", _PATH_PRIVSEP_CHROOT_DIR,
Home |
Main Index |
Thread Index |
Old Index