freebsd-skq/sys/amd64/amd64
Konstantin Belousov 91aae953cb amd64: clear PSL.AC in the right frame
If copyin family of routines fault, kernel does clear PSL.AC on the
fault entry, but the AC flag of the faulted frame is kept intact.  Since
onfault handler is effectively jump, AC survives until syscall exit.

Reported by:	m00nbsd, via Sony
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
admbugs:	975
2021-05-25 18:20:46 +03:00
..
apic_vector.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
atpic_vector.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
bios.c amd64: clean up empty lines in .c and .h files 2020-09-01 21:16:54 +00:00
bpf_jit_machdep.c malloc: delegate M_EXEC handling to dedicacted routines 2020-10-30 20:02:32 +00:00
bpf_jit_machdep.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
copyout.c amd64: clean up empty lines in .c and .h files 2020-09-01 21:16:54 +00:00
cpu_switch.S amd64: Store full 64bit of FIP/FDP for 64bit processes when using XSAVE. 2020-10-03 23:17:29 +00:00
db_disasm.c amd64: clean up empty lines in .c and .h files 2020-09-01 21:16:54 +00:00
db_interface.c amd64: allow parallel shootdown IPIs 2020-07-14 20:37:50 +00:00
db_trace.c ddb: replace watchpoint set/clear functions 2021-03-29 12:05:44 -03:00
efirt_machdep.c Switch the EFI virtual address to a uint64_t 2021-05-01 06:01:20 +00:00
efirt_support.S amd64 ef_rt_arch_call: Preserve %rflags around call into EFI RT service. 2019-06-03 15:32:42 +00:00
elf_machdep.c random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
exception.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
fpu.c Fix for mis-interpretation of PCB_KERNFPU. 2020-10-14 23:01:41 +00:00
gdb_machdep.c gdb: report specific stop reason for watchpoints 2021-03-30 11:36:41 -03:00
genassym.c amd64 pmap: convert to counter(9), add PV and pagetable page counts 2021-03-09 09:27:10 -08:00
in_cksum.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
initcpu.c Limit workaround for errata E400 to appropriate AMD cpus. 2020-10-14 22:57:50 +00:00
io.c sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
locore.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
machdep.c x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
mem.c Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
minidump_machdep.c Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
mp_machdep.c x86/xen: further PVHv1 removal cleanup 2021-05-18 10:43:31 +02:00
mpboot.S amd64 pmap: LA57 AKA 5-level paging 2020-08-23 20:19:04 +00:00
pmap.c amd64: disable LA57 by default for now 2021-04-30 17:43:45 +03:00
ptrace_machdep.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
sigtramp.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
support.S amd64: clear PSL.AC in the right frame 2021-05-25 18:20:46 +03:00
sys_machdep.c Fix map locking in the CLEAR_PKRU sysarch(2) handler. 2020-02-05 16:09:02 +00:00
trap.c Balance parentheses in sysctl descriptions 2021-04-11 10:30:55 +02:00
uio_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
uma_machdep.c Tidy up the #includes. Recent changes, such as the introduction of 2020-11-02 19:20:06 +00:00
vm_machdep.c x86: use x86_clear_dbregs() on fork 2021-04-10 04:25:02 +03:00
xen-locore.S xen: remove support for PVHv1 bootpath 2021-05-17 10:56:52 +02:00