mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fill p_flags and p_align fields of the core dump note segement.
Reviewed by: kib MFC after: 2 weeks
This commit is contained in:
parent
27b056480e
commit
fb5ea9d1c8
1 changed files with 2 additions and 2 deletions
|
|
@ -1513,8 +1513,8 @@ __elfN(puthdr)(struct thread *td, void *dst, size_t *off, int numsegs)
|
|||
phdr->p_paddr = 0;
|
||||
phdr->p_filesz = notesz;
|
||||
phdr->p_memsz = 0;
|
||||
phdr->p_flags = 0;
|
||||
phdr->p_align = 0;
|
||||
phdr->p_flags = PF_R;
|
||||
phdr->p_align = sizeof(Elf32_Size);
|
||||
phdr++;
|
||||
|
||||
/* All the writable segments from the program. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue