Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/bin/named Fix one more writable direc...
details: https://anonhg.NetBSD.org/src/rev/ccc43333845d
branches: trunk
changeset: 998801:ccc43333845d
user: taca <taca%NetBSD.org@localhost>
date: Thu May 02 14:57:01 2019 +0000
description:
Fix one more writable directory check to "directory" in options seciton
when named is reloaded case.
diffstat:
external/mpl/bind/dist/bin/named/server.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r b62b945b03b4 -r ccc43333845d external/mpl/bind/dist/bin/named/server.c
--- a/external/mpl/bind/dist/bin/named/server.c Thu May 02 11:49:04 2019 +0000
+++ b/external/mpl/bind/dist/bin/named/server.c Thu May 02 14:57:01 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: server.c,v 1.5 2019/04/28 00:01:13 christos Exp $ */
+/* $NetBSD: server.c,v 1.6 2019/05/02 14:57:01 taca Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -6466,6 +6466,7 @@
"option 'directory' contains relative path '%s'",
directory);
+#if 0
if (!isc_file_isdirwritable(directory)) {
isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
NAMED_LOGMODULE_SERVER, ISC_LOG_ERROR,
@@ -6473,6 +6474,7 @@
directory);
return (ISC_R_NOPERM);
}
+#endif
result = isc_dir_chdir(directory);
if (result != ISC_R_SUCCESS) {
Home |
Main Index |
Thread Index |
Old Index