NetBSD Problem Report #56629
From gson@gson.org Sat Jan 15 15:03:05 2022
Return-Path: <gson@gson.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 72F511A923A
for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Jan 2022 15:03:05 +0000 (UTC)
Message-Id: <20220115150253.18D61254277@guava.gson.org>
Date: Sat, 15 Jan 2022 17:02:53 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: pfil(9) is at odds with reality
X-Send-Pr-Version: 3.95
>Number: 56629
>Category: kern
>Synopsis: pfil(9) is at odds with reality
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 15 15:05:00 +0000 2022
>Closed-Date: Sat Jan 15 15:54:19 +0000 2022
>Last-Modified: Sat Jan 15 15:54:19 +0000 2022
>Originator: Andreas Gustafsson
>Release: NetBSD 9.2, -current
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:
The pfil(9) man page documents the functions pfil_head_register() and
pfil_head_unregister() which don't actually exist in the kernel.
Apparently they were replaced by something else in this commit:
Author: rmind <rmind@NetBSD.org>
Date: Sat Jun 29 21:06:57 2013 +0000
- Rewrite parts of pfil(9): use array to store hooks and thus be more cache
friendly (there are only few hooks in the system). Make the structures
opaque and the interface more strict.
- Remove PFIL_HOOKS option by making pfil(9) mandatory.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56629 CVS commit: src/share/man/man9
Date: Sat, 15 Jan 2022 10:37:15 -0500
Module Name: src
Committed By: christos
Date: Sat Jan 15 15:37:15 UTC 2022
Modified Files:
src/share/man/man9: pfil.9
Log Message:
PR/56629: Andreas Gustafsson: Update documentation about the filter head
maintainance functions.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/share/man/man9/pfil.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sat, 15 Jan 2022 15:54:19 +0000
State-Changed-Why:
Fixed by christos, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.