[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] linux-user: elf: Map empty PT_LOAD segments
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2] linux-user: elf: Map empty PT_LOAD segments |
Date: |
Thu, 9 May 2019 16:57:19 +0100 |
On Thu, 9 May 2019 at 16:50, Laurent Vivier <address@hidden> wrote:
>
> On 03/05/2019 14:20, Giuseppe Musacchio wrote:
> > Some PT_LOAD segments may be completely zeroed out and their p_filesize
> > is zero, in that case the loader should just allocate a page that's at
> > least p_memsz bytes large (plus eventual alignment padding).
> >
> > Calling zero_bss does this job for us, all we have to do is make sure we
> > don't try to mmap a zero-length page.
> >
> > Signed-off-by: Giuseppe Musacchio <address@hidden>
> > Reviewed-by: Peter Maydell <address@hidden>
>
> I don't find the mail from Peter with his R-b.
> Did I miss it?
Patchew has it:
https://patchew.org/QEMU/address@hidden/
thanks
-- PMM