freebsd-skq/sys
Poul-Henning Kamp 65a311fcb2 Give kldunload a -f(orce) argument.
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.
2004-07-13 19:36:59 +00:00
..
alpha Rev 1.24 of sys/ptrace.h adds ptrace_clear_single_step() prototype 2004-07-13 16:11:04 +00:00
amd64 Add ptrace_clear_single_step(), alpha already has it for years, the function 2004-07-13 07:22:56 +00:00
arm Push down the acquisition and release of the page queues lock into 2004-07-13 02:49:22 +00:00
boot Change the following environment variables to kernel options: 2004-07-08 22:35:36 +00:00
cam Update for the KDB framework: 2004-07-10 20:56:43 +00:00
coda Remove 'td = curthread' that shadows the arguments to coda_root(). 2004-07-12 14:11:26 +00:00
compat Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
conf Desupport M-Systems DiskOnChip driver "fla" 2004-07-13 17:43:03 +00:00
contrib Send the fla driver in the Attic 2004-07-13 17:44:17 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Re-add the gdb command. It was removed to be replaced by something 2004-07-12 01:38:07 +00:00
dev Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Another LINT compilation fix 2004-07-13 09:47:27 +00:00
gdb Introduce the GDB debugger backend for the new KDB framework. The 2004-07-10 17:47:22 +00:00
geom Remove unused macro. 2004-07-13 12:01:29 +00:00
gnu Make VFS_ROOT() and vflush() take a thread argument. 2004-07-12 08:14:09 +00:00
i4b Catch up with the new world order of Netgraph metas. 2004-07-06 06:43:45 +00:00
i386 Desupport M-Systems DiskOnChip driver "fla" 2004-07-13 17:43:03 +00:00
ia64 Add ptrace_clear_single_step(), alpha already has it for years, the function 2004-07-13 07:22:56 +00:00
isa Partially revert previous commit. Calling getit() unconditionally fixed 2004-07-11 17:50:59 +00:00
isofs/cd9660 Make VFS_ROOT() and vflush() take a thread argument. 2004-07-12 08:14:09 +00:00
kern Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules Replace DDB with KDB. 2004-07-13 09:37:49 +00:00
net Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti(). 2004-07-09 05:26:27 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Procotol control block locking for netatalk DDP. 2004-07-12 18:39:59 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Introduce a global mtx 'ngsocketlist_mtx' to protect the global 2004-07-12 04:45:46 +00:00
netinet Remove erroneous semicolons. 2004-07-13 16:06:19 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
netipx Constify 'spx_backoff'. 2004-07-12 19:35:29 +00:00
netkey Merge next step in socket buffer locking: 2004-06-21 00:20:43 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Make VFS_ROOT() and vflush() take a thread argument. 2004-07-12 08:14:09 +00:00
nfsclient Turn off SO_REUSEADDR and SO_REUSEPORT, they were causing EADDRINUSE 2004-07-13 05:42:59 +00:00
nfsserver Do not call sorecieve() in the context of a socket callback as it causes 2004-07-13 07:05:38 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 oldcard's card device no longer requires a count 2004-07-13 16:11:34 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci Update for the KDB framework: 2004-07-10 21:47:53 +00:00
posix4
powerpc Add ptrace_clear_single_step(), alpha already has it for years, the function 2004-07-13 07:22:56 +00:00
rpc Constify 'rpcclnt_backoff'. 2004-07-12 19:37:08 +00:00
security Update for the KDB framework: 2004-07-10 21:47:53 +00:00
sparc64 Add ptrace_clear_single_step(), alpha already has it for years, the function 2004-07-13 07:22:56 +00:00
sys Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Make VFS_ROOT() and vflush() take a thread argument. 2004-07-12 08:14:09 +00:00
vm Remove an unused and unimplemented sysctl. (For the record, it was marked 2004-07-12 17:45:37 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00