| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add the ability to print out the module specific information in likely formats.
Among other things this gives us the ability to find out the syscall number of a dynamically loaded syscall that has a dynamicly allocated vector number.
Sponsored by: Panzura inc.
|
|
|
|
|
|
|
| |
Add quiet support for kldstat -n
PR: bin/180014
Submitted by: Olivier Cochard-Labbé <olivier at cochard.me>
|
|
|
|
|
|
|
|
|
|
| |
This fixes verbose mode when either -i specified non-existent kldfile
id, or the file was unloaded between two kldnext(2) calls.
While there, fix printfile() definition to be style(9)-compliant.
Submitted by: arundel
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
removes the need for stdint.h inclusion.
PR: 146046
Submitted by: Alexander Best <alexbestms@wwu.de>
Reviewed by: kan
MFC after: 1 week
|
|
|
|
| |
(r172862).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
module is loaded or compiled into the kernel.
This is useful mostly in startup scripts, when module should be loaded only
if it wasn't compiled into the kernel nor already loaded, eg.:
kldstat -q -m g_eli || kldload geom_eli.ko || err 1 'geom_eli module failed to load.'
|
| |
|
| |
|
| |
|
|
|
|
| |
sizeof(void *) rather than if __alpha__ is defined.
|
| |
|
| |
|
|
|
|
|
|
| |
consitently compare fileid with 0 using == and !=.
Reviewed by: silence on @audit
|
|
|
|
| |
Look at by: sebastian.ssmoller@web.de on audit@
|
|
|
|
|
|
| |
of the kld's.
Pointed out by: bp
|
|
|
|
| |
the -v flag.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o start function names in column 1
o sort order of flags in getopt and switch
o don't try to reference progname
o unspam some changes introduced by a 2.2.1-R build box instead of a
-current build box
doc changes:
o document when these commands first appeared
o put email address in angle brakets
o minor mdoc clean up
|
|
|
|
|
|
|
|
| |
fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars
these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)
|
|
|