Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Someone needs to fix pagefault handling



In article <20150304202555.GA12744%mail.duskware.de@localhost>,
Martin Husemann  <martin%duskware.de@localhost> wrote:
>Hi folks,
>
>Christos recently fixed a standards compliance issue, pagefault() can now
>return EINVAL which means we should send SIGBUS to userland.

Minor correction: uvm_fault() always returned EINVAL but that fell in
the else part of ENOMEM, so we returned SEGV which is wrong for mmap
> PAGESIZE past EOF.

christos



Home | Main Index | Thread Index | Old Index