mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
Kernel+LibELF: Store termination signal in coredump ProcessInfo
This commit is contained in:
parent
b5437216e2
commit
0571a17f57
3 changed files with 4 additions and 0 deletions
|
@ -216,6 +216,7 @@ ByteBuffer CoreDump::create_notes_process_data() const
|
|||
ELF::Core::ProcessInfo info {};
|
||||
info.header.type = ELF::Core::NotesEntryHeader::Type::ProcessInfo;
|
||||
info.pid = m_process->pid().value();
|
||||
info.termination_signal = m_process->termination_signal();
|
||||
|
||||
process_data.append((void*)&info, sizeof(info));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue