On Fri, 04 Dec 2020 20:15:13 -0800
Greg Steuck wrote:
> George Koehler writes:
>
> > If I do ddb set a bad value, then sysctl refuses to show the value:
> >
> > # sysctl ddb.console=1
> > ddb.console: 0 -> 1
> > # sysctl ddb.trigger=1
> > Stopped at ddb_sysctl+0x114:
George Koehler writes:
> On Mon, 30 Nov 2020 20:04:10 -0800
> Greg Steuck wrote:
>
>> Tested with a bunch of manual sysctl -w's.
>>
>> OK?
>
> I'm not sure about this diff. I'm more likely to do
> ddb{0}> set $radix = 0t2
> and less likely to do
> # sysctl ddb.radix=2
> but you enf
From: Greg Steuck
> Date: Mon, 30 Nov 2020 19:42:19 -0800
> Subject: [PATCH] Convert ddb_sysctl to sysctl_bounded_arr
>
> ---
> sys/ddb/db_usrreq.c | 22 ++
> 1 file changed, 10 insertions(+), 12 deletions(-)
>
> diff --git sys/ddb/db_usrreq.c
Tested with a bunch of manual sysctl -w's.
OK?
>From 24ae202fd5d39c3c40c029fb878aa15eee33b709 Mon Sep 17 00:00:00 2001
From: Greg Steuck
Date: Mon, 30 Nov 2020 19:42:19 -0800
Subject: [PATCH] Convert ddb_sysctl to sysctl_bounded_arr
---
sys/ddb/db_usrreq.c | 22 ++