Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make kern.logsigexit writeable again.
details: https://anonhg.NetBSD.org/src/rev/f11472dce35d
branches: trunk
changeset: 556186:f11472dce35d
user: atatat <atatat%NetBSD.org@localhost>
date: Tue Dec 09 01:25:33 2003 +0000
description:
Make kern.logsigexit writeable again.
Fixes PR kern/23695.
diffstat:
sys/kern/init_sysctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c511d767169b -r f11472dce35d sys/kern/init_sysctl.c
--- a/sys/kern/init_sysctl.c Tue Dec 09 00:48:54 2003 +0000
+++ b/sys/kern/init_sysctl.c Tue Dec 09 01:25:33 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_sysctl.c,v 1.7 2003/12/07 10:33:03 martin Exp $ */
+/* $NetBSD: init_sysctl.c,v 1.8 2003/12/09 01:25:33 atatat Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -410,7 +410,7 @@
CTLTYPE_STRING, "defcorename", NULL,
sysctl_kern_defcorename, 0, defcorename, MAXPATHLEN,
CTL_KERN, KERN_DEFCORENAME, CTL_EOL);
- sysctl_createv(SYSCTL_PERMANENT,
+ sysctl_createv(SYSCTL_PERMANENT|SYSCTL_READWRITE,
CTLTYPE_INT, "logsigexit", NULL,
NULL, 0, &kern_logsigexit, 0,
CTL_KERN, KERN_LOGSIGEXIT, CTL_EOL);
Home |
Main Index |
Thread Index |
Old Index