NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/47951: modstat(8) can't display load address
>Number: 47951
>Category: bin
>Synopsis: modstat(8) has no option to display load address
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 21 18:30:00 +0000 2013
>Originator: Jeff Rizzo
>Release: NetBSD 6.99.21
>Organization:
>Environment:
System: NetBSD slash.lan 6.99.21 NetBSD 6.99.21 (DTRACE) #23: Sun Jun 16
22:36:30 PDT 2013
riz%slash.lan@localhost:/usr/src/sys/arch/amd64/compile/DTRACE amd64
Architecture: x86_64
Machine: amd64
>Description:
The modstat(8) command should be able to display the address
at which a kernel module is loaded.
>How-To-Repeat:
Want to find the load address for a module. Note that modstat(8)
can't do it, even though it has all the information.
>Fix:
This is a SMOP, as in sbin/modstat/main.c, the information
is already retrieved from the kernel (ms->ms_addr) - it just
needs to be displayed. It's probably not needed by default,
but maybe an option flag?
I started in on some actual code for this, and realized I
don't have time to make it look nice enough, but it should
be easy enough for someone with a few minutes at hand.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index