NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/47816: ifmcstat grovels in kernel memory for ethercoms
The following reply was made to PR bin/47816; it has been noted by GNATS.
From: David Young <dyoung%pobox.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
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@localhost 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@localhost 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@localhost:/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@localhost.
Dave
--
David Young
dyoung%pobox.com@localhost Urbana, IL (217) 721-9981
Home |
Main Index |
Thread Index |
Old Index