| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
|
|
|
|
| |
Submitted by: Ulrich Spörlein
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
| |
PR: 108980
Submitted by: Yonatan
|
|
|
|
|
|
| |
Spotted by: brueffer
Approved by: cognet (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o multiple modules can be unloaded at once (specified either by id or be
module name)
o exit with EX_USAGE after usage() is called.
o remove unused variables, since we keep command line flags as bitmask,
in 'opt'.
o 'kldload -n ...' does nothing. Add comment to this options.
Additionally:
o Update manual page to conform new functionality.
o Increace WARNS to 6. Because we can.
Approved by: cognet (mentor)
MFC after: 1 week
|
|
|
|
|
| |
Approved by: cognet (mentor)
MFC after: 1 week
|
|
|
|
|
|
| |
- use .Dv for it
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a MOD_QUIESCE event for modules. This should return error (EBUSY)
of the module is in use.
MOD_UNLOAD should now only fail if it is impossible (as opposed to
inconvenient) to unload the module. Valid reasons are memory references
into the module which cannot be tracked down and eliminated.
When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is
not given, MOD_QUIESCE failing will also prevent the unload.
For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as
success.
Document that modules should return EOPNOTSUPP for unknown events.
|
| |
|
|
|
|
|
|
| |
consitently compare fileid with 0 using == and !=.
Reviewed by: silence on @audit
|
|
|
|
| |
Look at by: sebastian.ssmoller@web.de on audit@
|
| |
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
| |
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Suggested by: Bruce Evans <bde@zeta.org.au>
Reviewed by: dfr
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 8739
Submitted by: Love lha@stacken.kth.se
Reviewed by: Doug Rabson <doug@freebsd.org>
|
| |
|
|
|
|
|
| |
message reflect this. As a bonus, make the -n optional so that 'kldunload
name' works as one would expect.
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted-by: Steve Price <sprice@hiwaay.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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) :)
|
|
|