Searched hist:ccb83afd8192c1b5070aa7b4e888223bfd08b00a (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/sys/ |
H A D | procfs.h | diff ccb83afd8192c1b5070aa7b4e888223bfd08b00a Mon Jul 18 17:14:23 CEST 2016 John Baldwin <jhb@FreeBSD.org> Include process IDs in core dumps.
When threads were added to the kernel, the pr_pid member of the NT_PRSTATUS note was repurposed to store LWP IDs instead of process IDs. However, the process ID was no longer recorded in core dumps. This change adds a pr_pid field to prpsinfo (NT_PRSINFO). Rather than bumping the prpsinfo version number, note parsers can use the note's payload size to determine if pr_pid is present.
Reviewed by: kib, emaste (older version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D7117
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | diff ccb83afd8192c1b5070aa7b4e888223bfd08b00a Mon Jul 18 17:14:23 CEST 2016 John Baldwin <jhb@FreeBSD.org> Include process IDs in core dumps.
When threads were added to the kernel, the pr_pid member of the NT_PRSTATUS note was repurposed to store LWP IDs instead of process IDs. However, the process ID was no longer recorded in core dumps. This change adds a pr_pid field to prpsinfo (NT_PRSINFO). Rather than bumping the prpsinfo version number, note parsers can use the note's payload size to determine if pr_pid is present.
Reviewed by: kib, emaste (older version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D7117
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | diff ccb83afd8192c1b5070aa7b4e888223bfd08b00a Mon Jul 18 17:14:23 CEST 2016 John Baldwin <jhb@FreeBSD.org> Include process IDs in core dumps.
When threads were added to the kernel, the pr_pid member of the NT_PRSTATUS note was repurposed to store LWP IDs instead of process IDs. However, the process ID was no longer recorded in core dumps. This change adds a pr_pid field to prpsinfo (NT_PRSINFO). Rather than bumping the prpsinfo version number, note parsers can use the note's payload size to determine if pr_pid is present.
Reviewed by: kib, emaste (older version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D7117
|