1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys
Robert Watson cacd79e2c9 Remove a potential panic condition introduced by reduced TCP wait
state.  Those changed attempted to work around the changed invariant
that inp->in_socket was sometimes now NULL, but the logic wasn't
quite right, meaning that inp->in_socket would be dereferenced by
cr_canseesocket() if security.bsd.see_other_uids, jail, or MAC
were in use.  Attempt to clarify and correct the logic.

Note: the work-around originally introduced with the reduced TCP
wait state handling to use cr_cansee() instead of cr_canseesocket()
in this case isn't really right, although it "Does the right thing"
for most of the cases in the base system.  We'll need to address
this at some point in the future.

Pointed out by:	dcs
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-10 20:33:10 +00:00
..
alpha Enable loadable modules to be unloaded on alphas with shared isa 2003-04-10 20:32:29 +00:00
amd64 Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
arm
boot Zap some a.out leftovers 2003-04-06 06:28:08 +00:00
cam Sufficient access checks are performed by vmapbuf() that calling useracc() 2003-04-06 22:21:03 +00:00
coda
compat o In struct prison, add an allprison linked list of prisons (protected 2003-04-09 02:55:18 +00:00
conf - Add PCI support (Adaptec AHA-2920/A,Future Domain TMC-18XX/3260). 2003-04-07 10:13:25 +00:00
contrib Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
crypto
ddb Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
dev Spell 55 with two '5's 2003-04-10 12:56:33 +00:00
fs It appears that msdosfs_init() is called multiple times. This happens 2003-04-10 00:13:12 +00:00
geom Only be verbose if (bootverbose) 2003-04-09 13:52:40 +00:00
gnu
i4b
i386 Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
ia64 o In struct prison, add an allprison linked list of prisons (protected 2003-04-09 02:55:18 +00:00
isa Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
isofs/cd9660
kern Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
libkern
modules - Add PCI support (Adaptec AHA-2920/A,Future Domain TMC-18XX/3260). 2003-04-07 10:13:25 +00:00
net Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netatalk
netatm Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
netgraph Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netinet Remove a potential panic condition introduced by reduced TCP wait 2003-04-10 20:33:10 +00:00
netinet6
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx
netkey Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netnatm Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netncp
netsmb
nfs
nfsclient
nfsserver
opencrypto
pc98 MFi386: revision 1.561 2003-04-03 12:39:18 +00:00
pccard
pci Correct maxsize/maxsegsz parameters to bus_dma_tag_create(). 2003-04-09 15:05:19 +00:00
posix4
powerpc Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
rpc
security Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
sparc64 Print real memory/avail memory on startup like other platforms. Hide 2003-04-10 17:18:52 +00:00
sys Check M_TRYWAIT as a flag, not a constant, in MBTOM() mbuf allocator 2003-04-10 17:52:10 +00:00
tools
ufs Sufficient access checks are performed by vmapbuf() that calling useracc() 2003-04-06 19:26:30 +00:00
vm - Kill the pv_flags member of the alpha mdpage since it stop being used 2003-04-10 18:42:06 +00:00
Makefile