• T
    target-ppc: Confirm That .bss Pages Are Valid · f46e9a0b
    Tom Musta 提交于
    The existing code does a check to ensure that a .bss region is properly
    mmap'd.  When additional mmap is required, the (guest) pages are also
    validated.  However, this code has a bug: when host page size is larger
    than target page size, it is possible for the .bss pages to already be
    (host) mapped but the guest .bss pages may not be valid.
    
    The check to mmap additional space is separated from the flagging of the
    target (guest) pages, thus ensuring that both aspects are done properly.
    Signed-off-by: NTom Musta <tommusta@gmail.com>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    f46e9a0b
elfload.c 91.9 KB