NetBSD Problem Report #57373

From www@netbsd.org  Sat Apr 22 09:52:13 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D94261A923A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 22 Apr 2023 09:52:13 +0000 (UTC)
Message-Id: <20230422095212.8D58D1A923B@mollari.NetBSD.org>
Date: Sat, 22 Apr 2023 09:52:12 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: sys_kfilters should be a link set
X-Send-Pr-Version: www-1.0

>Number:         57373
>Category:       kern
>Synopsis:       sys_kfilters should be a link set
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 22 09:55:00 +0000 2023
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
the knetbsd foundation
>Environment:
inextricably linked with fossil fuel consumption
>Description:
Instead of having a bunch of externs hard-coded into kern_event.c for a fixed table of system-defined kfilters, this should be defined with a link set.
>How-To-Repeat:
$ nm --undefined-only librump.so | grep rumpns
...
                 U rumpns_fs_filtops
...

>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.