1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00
freebsd/sys
Poul-Henning Kamp cd690b60de Device megapatch 6/6:
This is what we came here for:  Hang dev_t's from their cdevsw,
refcount cdevsw and dev_t and generally keep track of things a lot
better than we used to:

Hold a cdevsw reference around all entrances into the device driver,
this will be necessary to safely determine when we can unload driver
code.

Hold a dev_t reference while the device is open.

KASSERT that we do not enter the driver on a non-referenced dev_t.

Remove old D_NAG code, anonymous dev_t's are not a problem now.

When destroy_dev() is called on a referenced dev_t, move it to
dead_cdevsw's list.  When the refcount drops, free it.

Check that cdevsw->d_version is correct.  If not, set all methods
to the dead_*() methods to prevent entrance into driver.  Print
warning on console to this effect.  The device driver may still
explode if it is also incompatible with newbus, but in that case
we probably didn't get this far in the first place.
2004-02-21 21:57:26 +00:00
..
alpha Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
amd64 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Re-add sio.S, and properly deal with assembler files. 2004-02-17 07:13:04 +00:00
cam Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
conf Device megapatch 2/6: 2004-02-21 20:29:52 +00:00
contrib Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb If not in the debugger or if the user requests it with the 2004-01-28 06:51:18 +00:00
dev Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
fs Device megapatch 6/6: 2004-02-21 21:57:26 +00:00
geom Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
gnu Enforce the file size limit in VOP_WRITE() as well as VOP_TRUNCATE(); 2004-02-19 09:06:06 +00:00
i4b Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
i386 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ia64 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
isa Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
isofs/cd9660 Spell magic '16' number as IO_SEQSHIFT. 2004-01-19 20:03:43 +00:00
kern Device megapatch 6/6: 2004-02-21 21:57:26 +00:00
libkern Remove register keyword and constify tmp values. This fixes 2004-02-12 03:23:13 +00:00
modules Makefile needed for building geom_concat module. 2004-02-19 15:43:58 +00:00
net Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
net80211 Change WI_RID_SCAN_RES compatibility interface to return the result after 2004-01-19 05:25:43 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Don't remove the first mbuf in the chain if it got empty. 2004-02-21 12:55:07 +00:00
netgraph Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
netinet Fixed ucred structure leak. 2004-02-19 14:13:21 +00:00
netinet6 - call ip6_output() instead of nd6_output() when ipsec tunnel 2004-02-19 14:57:22 +00:00
netipsec Fix type in a sysctl. It used to be: net.key.prefered_oldsa 2004-02-16 17:09:53 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
netsmb Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
nfsclient Locking for the per-process resource limits structure. 2004-02-04 21:52:57 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pc98 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pccard Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pci Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The 2004-02-12 09:17:16 +00:00
rpc Don't panic because of RPC proto mismatches. Whitespace cleanup. 2004-01-17 21:25:05 +00:00
security Commit file missed in last pass: MAC api uses 'struct pipepair', not 2004-02-01 21:52:09 +00:00
sparc64 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sys Device megapatch 6/6: 2004-02-21 21:57:26 +00:00
tools Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't 2004-02-05 22:51:16 +00:00
ufs Abstract dirhash's locking using macros. This should make it easier to 2004-02-15 21:39:35 +00:00
vm - Correct a long-standing race condition in vm_page_try_to_free() that 2004-02-19 07:43:55 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00