1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/amd64/amd64
Konstantin Belousov 65f99c74fb Clear the kernel grab of the FPU state on fork. The pcb_save pointer
is already correctly reset to the FPU user save area, only PCB_KERNFPU
flag might leak from old thread state into the new state.

For creation of the user-mode thread, the change is nop since
corresponding syscall code does not use FPU.  On the other hand,
creation of a kernel thread forks from a thread selected arbitrary
from proc0, which might use FPU.

Reported and tested by:	Chris Torek <torek@torek.net>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-03-29 11:56:33 +00:00
..
amd64_mem.c
apic_vector.S amd64/i386: switch IPI handlers to C code. 2014-03-11 10:03:29 +00:00
atomic.c
atpic_vector.S
autoconf.c
bios.c
bpf_jit_machdep.c Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
bpf_jit_machdep.h
cpu_switch.S Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c. 2014-03-04 21:35:57 +00:00
db_disasm.c Add support for 'clac' and 'stac' to DDB's disassembler on amd64. 2014-01-27 18:53:18 +00:00
db_interface.c
db_trace.c
elf_machdep.c
exception.S - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
fpu.c Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c. 2014-03-04 21:35:57 +00:00
gdb_machdep.c
genassym.c xen: add PV/PVH kernel entry point 2014-03-11 10:07:01 +00:00
identcpu.c Remove spaces from boot messages when we print the CPU ID/Family/Stepping 2014-01-11 22:41:10 +00:00
in_cksum.c
initcpu.c
io.c
locore.S xen: add PV/PVH kernel entry point 2014-03-11 10:07:01 +00:00
machdep.c amd64: Parse the EFI memory map if present 2014-03-27 18:23:02 +00:00
mem.c Fix two issues with /dev/mem access on amd64, both causing kernel page 2014-03-21 14:25:09 +00:00
minidump_machdep.c Several small fixes for the amd64 minidump code. 2013-10-27 16:31:12 +00:00
mp_machdep.c Several fixes for the PCID implementation: 2014-03-28 16:07:27 +00:00
mp_watchdog.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00
mpboot.S Revert accidentally committed changes in 262748. 2014-03-04 20:16:00 +00:00
pmap.c Several fixes for the PCID implementation: 2014-03-28 16:07:27 +00:00
prof_machdep.c
ptrace_machdep.c
sigtramp.S
stack_machdep.c
support.S
sys_machdep.c Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
trap.c Fix two issues with /dev/mem access on amd64, both causing kernel page 2014-03-21 14:25:09 +00:00
uio_machdep.c Delete stray clause 3 (Advertising clause) and renumber while i'm 2014-03-11 23:41:35 +00:00
uma_machdep.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_machdep.c Clear the kernel grab of the FPU state on fork. The pcb_save pointer 2014-03-29 11:56:33 +00:00
xen-locore.S xen: add PV/PVH kernel entry point 2014-03-11 10:07:01 +00:00