freebsd-nq/sys/i386/i386
Mark Johnston 352aaa5122 Plug memory disclosures via ptrace(2).
On some architectures, the structures returned by PT_GET*REGS were not
fully populated and could contain uninitialized stack memory.  The same
issue existed with the register files in procfs.

Reported by:	Thomas Barabosch, Fraunhofer FKIE
Reviewed by:	kib
MFC after:	3 days
Security:	kernel stack memory disclosure
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18421
2018-12-03 20:54:17 +00:00
..
apic_vector.s i386 4/4G split. 2018-04-13 20:30:49 +00:00
atpic_vector.s i386 4/4G split. 2018-04-13 20:30:49 +00:00
bios.c i386 4/4G split. 2018-04-13 20:30:49 +00:00
bioscall.s Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
bpf_jit_machdep.c Make UMA and malloc(9) return non-executable memory in most cases. 2018-06-13 17:04:41 +00:00
bpf_jit_machdep.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
copyout_fast.s i386 4/4G split. 2018-04-13 20:30:49 +00:00
copyout.c Add pmap_is_valid_memattr(9). 2018-08-01 18:45:51 +00:00
db_disasm.c Make first a 'bool' instead of a 'boolean_t'. 2018-04-14 22:14:18 +00:00
db_interface.c i386 4/4G split. 2018-04-13 20:30:49 +00:00
db_trace.c Use bool instead of boolean_t here. No reason to use boolean_t. 2018-04-16 13:52:40 +00:00
elan-mmcr.c SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
elf_machdep.c Prepare the kernel linker to handle PC-relative ifunc relocations. 2018-08-22 20:44:30 +00:00
exception.s Fix recent breakages of kernel profiling, mostly on i386 (high resolution 2018-06-02 04:25:09 +00:00
gdb_machdep.c sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
genassym.c Support IBRS for i386. 2018-05-23 16:31:46 +00:00
geode.c sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
in_cksum.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
initcpu.c sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
io.c sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
k6_mem.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
locore.s Implement kernel support for early loading of Intel microcode updates. 2018-08-13 17:13:09 +00:00
longrun.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
machdep.c Plug memory disclosures via ptrace(2). 2018-12-03 20:54:17 +00:00
mem.c i386 4/4G split. 2018-04-13 20:30:49 +00:00
minidump_machdep.c Print the dump progress indicator after calling dump_start(). 2018-05-01 17:32:43 +00:00
mp_clock.c SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
mp_machdep.c Eliminate kmem_malloc()'s unused arena parameter. (The arena parameter 2018-08-21 16:43:46 +00:00
mpboot.s i386 4/4G split. 2018-04-13 20:30:49 +00:00
npx.c Convert i386 NPX hardware context save methods to ifuncs. 2018-09-19 16:37:43 +00:00
perfmon.c
pmap.c Correct the tunable name in the message. 2018-12-01 16:43:18 +00:00
prof_machdep.c Fix high resolution kernel profiling just enough to not crash at boot 2018-06-02 05:48:44 +00:00
ptrace_machdep.c sys/i386: further adoption of SPDX licensing ID tags. 2017-11-27 15:08:52 +00:00
sigtramp.s i386 4/4G split. 2018-04-13 20:30:49 +00:00
support.s Fix recent breakages of kernel profiling, mostly on i386 (high resolution 2018-06-02 04:25:09 +00:00
swtch.s Remove dead code in i386 cpu_throw(). 2018-08-25 15:31:23 +00:00
sys_machdep.c i386 4/4G split. 2018-04-13 20:30:49 +00:00
trap.c Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
uio_machdep.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm86.c i386 4/4G split. 2018-04-13 20:30:49 +00:00
vm86bios.s Fix panics in potentially all x86bios calls on i386 since r332489. 2018-06-10 14:21:01 +00:00
vm_machdep.c Convert x86 cache invalidation functions to ifuncs. 2018-09-19 19:35:02 +00:00