]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Store a 32-bit PT_LWPINFO struct for 32-bit process core dumps.
authorjhb <jhb@FreeBSD.org>
Thu, 29 Jun 2017 21:31:13 +0000 (21:31 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 29 Jun 2017 21:31:13 +0000 (21:31 +0000)
commit131ea5a7f4d2bb55b70318fad89b099a49b4e2f7
treed1218afb4ae6b8b11c8d3dde43b1dca3e45a4092
parentf043fa948f8395abf535cace9eb19fe3dcbea826
Store a 32-bit PT_LWPINFO struct for 32-bit process core dumps.

Process core notes for a 32-bit process running on a 64-bit host need to
use 32-bit structures so that the note layout matches the layout of notes
of a core dump of a 32-bit process under a 32-bit kernel.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D11407
sys/compat/freebsd32/freebsd32_signal.h
sys/kern/imgact_elf.c
sys/kern/sys_process.c
sys/sys/ptrace.h
sys/sys/signal.h
usr.bin/gcore/elf32core.c
usr.bin/gcore/elfcore.c