cvs commit: src/lib/libc/sys kldstat.2 src/sbin/kldstat kldstat.c
src/sys/kern kern_linker.c src/sys/sys linker.h
John Birrell
jb at FreeBSD.org
Sun Oct 21 21:13:08 PDT 2007
jb 2007-10-22 04:12:57 UTC
FreeBSD src repository
Modified files:
lib/libc/sys kldstat.2
sbin/kldstat kldstat.c
sys/kern kern_linker.c
sys/sys linker.h
Log:
Add the full module path name to the kld_file_stat structure
for kldstat(2).
This allows libdtrace to determine the exact file from which
a kernel module was loaded without having to guess.
The kldstat(2) API is versioned with the size of the
kld_file_stat structure, so this change creates version 2.
Add the pathname to the verbose output of kldstat(8) too.
MFC: 3 days
Revision Changes Path
1.21 +5 -0 src/lib/libc/sys/kldstat.2
1.20 +2 -2 src/sbin/kldstat/kldstat.c
1.150 +38 -7 src/sys/kern/kern_linker.c
1.47 +26 -0 src/sys/sys/linker.h
More information about the cvs-src
mailing list