NetBSD Problem Report #47816
From dyoung@whitecoralislands.com Tue May 14 22:45:11 2013
Return-Path: <dyoung@whitecoralislands.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 0E24E63EF4E
for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 May 2013 22:45:10 +0000 (UTC)
Message-Id: <20130514224506.AC1A21BF665@elmendorf.whitecoralislands.com>
Date: Tue, 14 May 2013 17:45:06 -0500 (CDT)
From: dyoung@whitecoralislands.com
Reply-To: dyoung@pobox.com
To: gnats-bugs@gnats.NetBSD.org
Subject: ifmcstat grovels in kernel memory for ethercoms
X-Send-Pr-Version: 3.95
>Number: 47816
>Category: bin
>Synopsis: ifmcstat grovels in kernel memory for ethercoms
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 14 22:50:01 +0000 2013
>Last-Modified: Sun Jun 02 00:29:53 +0000 2013
>Originator: David Young
>Release: NetBSD 6.0
>Organization:
David Young
dyoung@pobox.com Urbana, IL (217) 721-9981
>Environment:
System: NetBSD elmendorf.whitecoralislands.com 5.99.56 NetBSD 5.99.56 (modular.ojctech.com) #6: Thu Oct 27 14:56:28 CDT 2011 dyoung@skyking.ojctech.com:/home/dyoung/nbsd/i386/O/sys/arch/i386/compile/modular.ojctech.com i386
Architecture: i386
Machine: i386
/usr/sbin/ifmcstat:
-lkvm.6 => /usr/lib/libkvm.so.6
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-lc.12 => /usr/lib/libc.so.12
>Description:
ifmcstat(8) grovels in the kernel for structures like
ethercom. Ethercom should not be exported to userland in
the first place, and there ought to be an interface for
examining the multicast membership.
>How-To-Repeat:
Read the code, or try to wrap the ethercom definition with
#ifdef _KERNEL.
>Fix:
Put multicast memberships into some table and/or tables
that are shared with userland: e.g., forwarding table or
flow table.
>Release-Note:
>Audit-Trail:
From: David Young <dyoung@pobox.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/47816: ifmcstat grovels in kernel memory for ethercoms
Date: Tue, 14 May 2013 18:52:01 -0500
On Tue, May 14, 2013 at 10:50:01PM +0000, dyoung@whitecoralislands.com wrote:
> >Number: 47816
> >Category: bin
> >Synopsis: ifmcstat grovels in kernel memory for ethercoms
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: bin-bug-people
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue May 14 22:50:01 +0000 2013
> >Originator: David Young
> >Release: NetBSD 6.0
> >Organization:
> David Young
> dyoung@pobox.com Urbana, IL (217) 721-9981
> >Environment:
>
>
> System: NetBSD elmendorf.whitecoralislands.com 5.99.56 NetBSD 5.99.56 (modular.ojctech.com) #6: Thu Oct 27 14:56:28 CDT 2011 dyoung@skyking.ojctech.com:/home/dyoung/nbsd/i386/O/sys/arch/i386/compile/modular.ojctech.com i386
> Architecture: i386
> Machine: i386
>
> /usr/sbin/ifmcstat:
> -lkvm.6 => /usr/lib/libkvm.so.6
> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> -lc.12 => /usr/lib/libc.so.12
> >Description:
> ifmcstat(8) grovels in the kernel for structures like
> ethercom. Ethercom should not be exported to userland in
> the first place, and there ought to be an interface for
> examining the multicast membership.
> >How-To-Repeat:
> Read the code, or try to wrap the ethercom definition with
> #ifdef _KERNEL.
> >Fix:
> Put multicast memberships into some table and/or tables
> that are shared with userland: e.g., forwarding table or
> flow table.
Oops, this has the wrong address on it. Please follow-up to
dyoung@pobox.com.
Dave
--
David Young
dyoung@pobox.com Urbana, IL (217) 721-9981
>Unformatted:
(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.