Module Name: src
Committed By: christos
Date: Fri Aug 2 17:13:02 UTC 2024
Modified Files:
src/crypto/external/bsd/openssh/dist: pfilter.c
Log Message:
Switch blocklist to use syslog_ss since we are being called from a
signal handler.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/openssh/dist/pfilter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/dist/pfilter.c
diff -u src/crypto/external/bsd/openssh/dist/pfilter.c:1.8 src/crypto/external/bsd/openssh/dist/pfilter.c:1.9
--- src/crypto/external/bsd/openssh/dist/pfilter.c:1.8 Sun Jun 14 21:57:29 2020
+++ src/crypto/external/bsd/openssh/dist/pfilter.c Fri Aug 2 13:13:02 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: pfilter.c,v 1.8 2020/06/15 01:57:29 christos Exp $ */
+/* $NetBSD: pfilter.c,v 1.9 2024/08/02 17:13:02 christos Exp $ */
#include "namespace.h"
#include "includes.h"
#include "ssh.h"
@@ -6,19 +6,20 @@
#include "log.h"
#include "pfilter.h"
#include <blocklist.h>
+#include <syslog.h>
#ifndef SMALL
static struct blocklist *blstate;
#endif
#include "includes.h"
-__RCSID("$NetBSD: pfilter.c,v 1.8 2020/06/15 01:57:29 christos Exp $");
+__RCSID("$NetBSD: pfilter.c,v 1.9 2024/08/02 17:13:02 christos Exp $");
void
pfilter_init()
{
#ifndef SMALL
- blstate = blocklist_open();
+ blstate = blocklist_open2(vsyslog_ss);
#endif
}