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
David Young    Urbana, IL    (217) 721-9981
System: NetBSD 5.99.56 NetBSD 5.99.56 
( #6: Thu Oct 27 14:56:28 CDT 2011
Architecture: i386
Machine: i386

        -lkvm.6 => /usr/lib/
        -lgcc_s.1 => /usr/lib/
        -lc.12 => /usr/lib/
        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.
        Read the code, or try to wrap the ethercom definition with
        #ifdef _KERNEL.
        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