freebsd-nq/sys/i386
Konstantin Belousov 3f7905d29c Prevent the overflow in the calculation of the next page directory.
The overflow causes the wraparound with consequent corruption of the
(almost) whole address space mapping.

As Alan noted, pmap_copy() does not require the wrap-around checks
because it cannot be applied to the kernel's pmap. The checks there are
included for consistency.

Reported and tested by:	kris (i386/pmap.c:pmap_remove() part)
Reviewed by:	alc
MFC after:	1 week
2008-03-23 07:07:27 +00:00
..
acpica In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
bios Hold Giant over the entire execution of the suspend path instead of 2007-12-06 01:39:23 +00:00
compile
conf Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
cpufreq A cautionary XXX comment about seemingly bogus errata checks. 2008-03-17 09:05:15 +00:00
i386 Prevent the overflow in the calculation of the next page directory. 2008-03-23 07:07:27 +00:00
ibcs2 Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
include Implement atomic_fetchadd_long() for all architectures and document it. 2008-03-16 21:20:50 +00:00
isa Explicitly use spinlock_enter/exit rather than locking the icu_lock spin 2008-03-20 21:53:27 +00:00
linux Regen. 2008-03-16 16:29:37 +00:00
pci More properly handle links who only have 1 valid IRQ in their bitmask. The 2007-12-21 16:53:27 +00:00
svr4 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00