NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/47816: ifmcstat grovels in kernel memory for ethercoms



>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.



Home | Main Index | Thread Index | Old Index