1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/compat
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
..
freebsd32 Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
ia32 Check in structure definitions for the FreeBSD-3.x signal syscall stuff. 2004-04-14 23:20:14 +00:00
linprocfs Remove ps_argsopen from this check, because of two reasons: 2004-04-01 00:04:23 +00:00
linux Clean up and wash struct iovec and struct uio handling. 2004-07-10 15:42:16 +00:00
ndis Make NdisReadPcmciaAttributeMemory() and NdisWritePcmciaAttributeMemory() 2004-07-11 00:19:30 +00:00
netbsd Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a common 2004-03-13 19:46:27 +00:00
pecoff Change the types of vn_rdwr_inchunks()'s len and aresid arguments to 2004-06-05 02:18:28 +00:00
svr4 Clean up and wash struct iovec and struct uio handling. 2004-07-10 15:42:16 +00:00