freebsd-skq/sys/amd64
Konstantin Belousov 77185f473b linux_sigreturn() loads the struct trapframe from l_sigcontext
members, thus making a signed extension of 32 bit register
context. If the register is not touched in usermode between
return from signal and next syscall entry, the sign-extension
part of 64bit register is not cleared, causing
linux32_fetch_syscall_args() to read wrong values.

Use unsigned type for the registers in the linux sigcontext.

Reported by:	Jacob Frelinger <jacob.frelinger duke edu>, arundel
In collaboration with:	dchagin
MFC after:	1 week
2011-01-27 21:45:38 +00:00
..
acpica sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
amd64 Add macro to test the sv_flags of any process. Change some places to test 2011-01-26 20:03:58 +00:00
compile
conf Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching 2010-12-13 12:15:46 +00:00
ia32 Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. 2011-01-14 21:09:01 +00:00
include Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
linux32 linux_sigreturn() loads the struct trapframe from l_sigcontext 2011-01-27 21:45:38 +00:00
pci number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00