freebsd-skq/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 - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
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 - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
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 - Lock the buf before clearing flags. 2003-03-13 07:07:16 +00:00
i4b - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
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 Rename vfs_stdsync function to vfs_stdnosync which matches more 2003-03-11 22:15:10 +00:00
kern Move the _oncpu entry from the KSE to the thread. 2003-04-10 17:35:44 +00:00
libkern Further GC of M_STRING, missed previously. 2003-02-26 01:00:29 +00:00
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 - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
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 fixed a mbuf leak when an IP packet from ESP tunnel is redirected 2003-03-29 08:31:28 +00:00
netipsec Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
netipx Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL). 2003-03-08 06:58:22 +00:00
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 - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
netsmb - Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with 2003-03-31 22:49:17 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient Revert change 1.201 (removing mapping of VAPPEND to VWRITE). 2003-03-31 23:26:10 +00:00
nfsserver - Lock bufs before inspecting their flags. 2003-03-13 07:05:22 +00:00
opencrypto Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pc98 MFi386: revision 1.561 2003-04-03 12:39:18 +00:00
pccard Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
pci Correct maxsize/maxsegsz parameters to bus_dma_tag_create(). 2003-04-09 15:05:19 +00:00
posix4 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
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 MFp4: 2003-03-28 06:43:50 +00:00
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