On Tue, 13 Oct 2015 13:35:59 +0200
Andrea Canciani wrote:
> On MacOS X, according to the manpage of mprotect(), "When a program
> violates the protections of a page, it gets a SIGBUS or SIGSEGV
> signal.", but fence-image-self-test was only accepting a SIGSEGV as
>
On MacOS X an out-of-bounds access to an mmap-ed region typically
results in a SIGBUS, but fence-image-self-test was only accepting a
SIGSEGV as notification of invalid access.
Fixes fence-image-self-test
---
test/fence-image-self-test.c | 12 +++-
test/utils.c | 6
On Tue, 13 Oct 2015 11:07:53 +0200
Andrea Canciani wrote:
> On MacOS X an out-of-bounds access to an mmap-ed region typically
> results in a SIGBUS, but fence-image-self-test was only accepting a
> SIGSEGV as notification of invalid access.
Hi,
out-of-bounds may be true, but
On MacOS X, according to the manpage of mprotect(), "When a program
violates the protections of a page, it gets a SIGBUS or SIGSEGV
signal.", but fence-image-self-test was only accepting a SIGSEGV as
notification of invalid access.
Fixes fence-image-self-test
Reviewed-by: Pekka Paalanen
On Tue, 13 Oct 2015 13:41:29 +0200
Andrea Canciani wrote:
> On Tue, Oct 13, 2015 at 11:39 AM, Pekka Paalanen
> wrote:
>
> > On Tue, 13 Oct 2015 11:07:53 +0200
> > Andrea Canciani wrote:
> >
> > > On MacOS X an out-of-bounds access to