freebsd-nq/sys
Bruce Evans bd1a3f1a7e Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case.
frstor can trap despite it being a control instruction, since it bogusly
checks for pending exceptions in the state that it is overwriting.
This used to be a non-problem because frstor was always paired with a
previous fnsave, and fnsave does an implicit fninit so any pending
exceptions only remain live in the saved state.  Now frstor is sometimes
paired with npxdrop() and we must do a little more than just forget
that the npx was used in npxdrop() to avoid a trap later.  This is a
non-problem in the FXSR case because fxrstor doesn't do the bogus check.

FXSR is part of SSE, and npxdrop() is only in FreeBSD-5.x, so this bug
only affected old machines running FreeBSD-5.x.

PR:		68058
2004-06-18 02:10:55 +00:00
..
alpha Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
amd64 Revert last change. If acpi is loaded or compiled into the kernel, its 2004-06-17 17:27:37 +00:00
arm Nuke dead code. 2004-06-17 17:52:12 +00:00
boot Save a couple of bytes for the SIO case. 2004-06-17 12:02:25 +00:00
cam Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
coda Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
compat Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
conf Commit pf version 3.5 and link additional files to the kernel build. 2004-06-16 23:24:02 +00:00
contrib Import two fixes from the OpenBSD stable branch: 2004-06-17 16:59:47 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Fixed DDB_NOKLDSYM on amd64's: 2004-05-18 05:30:06 +00:00
dev A couple more style(9) nits I should have included in last commit 2004-06-18 01:28:54 +00:00
fs Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
geom Reduce the thaumaturgical level of root filesystem mounts: Instead of using 2004-06-17 21:24:13 +00:00
gnu Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
i4b Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
i386 Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case. 2004-06-18 02:10:55 +00:00
ia64 Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isa Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isofs/cd9660 Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
kern Implement CLOCK_VIRTUAL and CLOCK_PROF for clock_gettime(2) and 2004-06-17 23:12:12 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules Commit pf version 3.5 and link additional files to the kernel build. 2004-06-16 23:24:02 +00:00
net Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Socket MAC labels so_label and so_peerlabel are now protected by 2004-06-13 02:50:07 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
netinet Ensure that dst is bzeroed before calling rtalloc_ign(), to avoid possible 2004-06-18 02:04:07 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec use correct address for SADB_EXT_ADDRESS_DST in key_do_allocsa_policy 2004-05-03 05:15:53 +00:00
netipx Grab the socket buffer send or receive mutex when performing a 2004-06-15 03:51:44 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Extend coverage of SOCK_LOCK(so) to include so_count, the socket 2004-06-12 20:47:32 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nfsclient Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
nfsserver Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 MFi386: revision 1.1161 2004-06-16 14:21:52 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sparc64 Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sys Bumb version so apps can detect whether CLOCK_VIRTUAL and CLOCK_PROF are 2004-06-17 23:16:30 +00:00
tools devlist2h.awk is too generic a name for what it does. It really 2004-05-26 00:19:39 +00:00
ufs Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
vm Second half of the dev_t cleanup. 2004-06-17 17:16:53 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00