NetBSD Problem Report #48146

From www@NetBSD.org  Thu Aug 22 01:33:55 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AE82A7194F
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Aug 2013 01:33:55 +0000 (UTC)
Message-Id: <20130822013353.CA4AE71950@mollari.NetBSD.org>
Date: Thu, 22 Aug 2013 01:33:53 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: Patches to correct man pages after removal of the PFIL_HOOKS kernel option
X-Send-Pr-Version: www-1.0

>Number:         48146
>Category:       misc
>Synopsis:       Patches to correct man pages after removal of the PFIL_HOOKS kernel option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 22 01:35:00 +0000 2013
>Closed-Date:    Thu Aug 22 07:17:33 +0000 2013
>Last-Modified:  Thu Aug 22 07:20:01 +0000 2013
>Originator:     David H. Gutteridge
>Release:        Many
>Organization:
>Environment:
N/A
>Description:
Since PFIL_HOOKS was removed as a kernel option in 6.99.23, references
to it as a kernel option should be removed from man pages too.
>How-To-Repeat:
(Notice it's listed as a kernel option in options(4) when it no longer
exists.)
>Fix:
--- pfil.9~	2013-08-21 21:18:00.000000000 -0400
+++ pfil.9	2013-08-21 21:25:49.000000000 -0400
@@ -137,12 +137,6 @@
 .It PFIL_WAITOK
 OK to call malloc with M_WAITOK.
 .El
-.Pp
-The
-.Nm
-interface is enabled in the kernel via the
-.Sy PFIL_HOOKS
-option.
 .Sh SEE ALSO
 .Xr bpf 4
 .Sh HISTORY

--- options.4~	2013-08-21 21:19:29.000000000 -0400
+++ options.4	2013-08-21 21:27:47.000000000 -0400
@@ -1928,13 +1928,6 @@
 The initial TCP window size can be set via
 .Xr sysctl 8
 as well.
-.It Cd options PFIL_HOOKS
-This option turns on the packet filter interface hooks.
-See
-.Xr pfil 9
-for details.
-This option assumes
-.Em INET .
 .It Cd options IPFILTER_LOG
 This option, in conjunction with
 .Em pseudo-device ipfilter ,

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 22 Aug 2013 07:17:33 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48146 CVS commit: src/share/man
Date: Thu, 22 Aug 2013 07:17:11 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Aug 22 07:17:11 UTC 2013

 Modified Files:
 	src/share/man/man4: options.4
 	src/share/man/man9: pfil.9

 Log Message:
 Remove PFIL_HOOKS references, code was unifdefed.
 From David H. Gutteridge in PR 48146.

 Bump date.


 To generate a diff of this commit:
 cvs rdiff -u -r1.426 -r1.427 src/share/man/man4/options.4
 cvs rdiff -u -r1.32 -r1.33 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.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.