freebsd-nq/sys/amd64/ia32
Konstantin Belousov 6f9ec5aab0 Clear the padding when returning context to the usermode, for
MI ucontext_t and x86 MD parts.
Kernel allocates the structures on the stack, and not clearing
reserved fields and paddings causes leakage.

Noted and discussed with:	bde
MFC after:	2 weeks
2011-02-05 15:10:27 +00:00
..
ia32_exception.S Clear DF bit in eflags/rflags on the kernel entry. The i386 and amd64 2010-06-23 20:44:07 +00:00
ia32_misc.c Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
ia32_reg.c Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
ia32_signal.c Clear the padding when returning context to the usermode, for 2011-02-05 15:10:27 +00:00
ia32_sigtramp.S Save and restore segment registers on amd64 when entering and leaving 2009-04-01 13:09:26 +00:00
ia32_syscall.c Remove unused KTRACE includes. 2010-08-19 16:41:27 +00:00