Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/blacklist/diff one more pfilter_init()



details:   https://anonhg.NetBSD.org/src/rev/6a4532b007e2
branches:  trunk
changeset: 806296:6a4532b007e2
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 14 19:05:59 2015 +0000

description:
one more pfilter_init()

diffstat:

 external/bsd/blacklist/diff/ssh.diff |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r a364d68ae7ad -r 6a4532b007e2 external/bsd/blacklist/diff/ssh.diff
--- a/external/bsd/blacklist/diff/ssh.diff      Sat Feb 14 19:05:29 2015 +0000
+++ b/external/bsd/blacklist/diff/ssh.diff      Sat Feb 14 19:05:59 2015 +0000
@@ -158,3 +158,20 @@
                }
  #ifdef USE_PAM
                if (options.use_pam)
+Index: sshd.c
+===================================================================
+RCS file: /cvsroot/src/crypto/external/bsd/openssh/dist/sshd.c,v
+retrieving revision 1.16
+diff -u -r1.16 sshd.c
+--- sshd.c     25 Jan 2015 15:52:44 -0000      1.16
++++ sshd.c     14 Feb 2015 09:55:06 -0000
+@@ -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