1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/compat/freebsd32
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_misc.c Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
freebsd32_proto.h Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
freebsd32_syscall.h Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
freebsd32_syscalls.c Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
freebsd32_sysent.c Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
freebsd32_util.h Eliminate stackgap usage for the (woefully incomplete) path translations 2003-12-23 02:48:11 +00:00
freebsd32.h Catch up to the not-so-recent statfs(2) changes. 2004-04-14 23:17:37 +00:00
Makefile
syscalls.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
syscalls.master Add kldunloadf() system call. Stay tuned for follwing commit messages. 2004-07-13 19:35:11 +00:00