1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 06:04:47 +00:00

Disable "status memory" command.

About a year ago we had to disable the shared cache for the different
resolver strategies because it led to a segfault in unwind after a
libunbound update. There are no more memory statistics to show at this
point. I am still hopeful to bring the feature back one day, so hide
the command behind a ifdef like we did in resolver.c.

Missing feature reported by Jordan Geoghegan on bugs@
This commit is contained in:
florian
2025-08-03 13:20:36 +00:00
parent 1722ad4d6f
commit 179bcf67ed
2 changed files with 7 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: parser.c,v 1.11 2019/12/18 09:18:28 florian Exp $ */
/* $OpenBSD: parser.c,v 1.12 2025/08/03 13:20:36 florian Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -69,7 +69,9 @@ static const struct token t_log[] = {
static const struct token t_status[] = {
{NOTOKEN, "", NONE, NULL},
{KEYWORD, "autoconf", AUTOCONF, NULL},
#ifdef UNIFIED_CACHE
{KEYWORD, "memory", MEM, NULL},
#endif /* UNIFIED_CACHE */
{ENDTOKEN, "", NONE, NULL}
};

View File

@@ -1,4 +1,4 @@
.\" $OpenBSD: unwindctl.8,v 1.13 2023/01/03 20:58:05 deraadt Exp $
.\" $OpenBSD: unwindctl.8,v 1.14 2025/08/03 13:20:36 florian Exp $
.\"
.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: January 3 2023 $
.Dd $Mdocdate: August 3 2025 $
.Dt UNWINDCTL 8
.Os
.Sh NAME
@@ -60,8 +60,8 @@ Show nameservers learned from
.Xr dhcpleased 8
or
.Xr slaacd 8 .
.It Cm status memory
Show memory consumption.
.\" .It Cm status memory
.\" Show memory consumption.
.El
.Sh FILES
.Bl -tag -width "/dev/unwind.sockXX" -compact