- Original Message -
> From: "Cyril Hrubis" <chru...@suse.cz>
> To: "Jan Stancek" <jstan...@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 9 September, 2015 3:26:42 PM
> Subject: Re: [LTP] [PATCH] mprotect04: fix
Hi!
> Testcase tried to copy page size area starting at _func.
> This results in crash on powerpc, because _func is too close
> to end of page and subsequent page is not mapped:
I was wondering about this problem when I was fixing the test, but could
not actually hit it.
> -static void
- Original Message -
> From: "Cyril Hrubis" <chru...@suse.cz>
> To: "Jan Stancek" <jstan...@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 9 September, 2015 3:09:34 PM
> Subject: Re: [LTP] [PATCH] mprotect04: fix
- Original Message -
> From: "Cyril Hrubis" <chru...@suse.cz>
> To: "Jan Stancek" <jstan...@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 9 September, 2015 2:37:37 PM
> Subject: Re: [LTP] [PATCH] mprotect04: fix
Hi!
> It doesn't seem reliable:
>
> open("/dev/null", O_WRONLY|O_CREAT, 0644) = 3
> write(3, NULL, 1) = 1
> close(3)= 0
>
> I'm seeing this on RHEL6.7 kernel, I haven't tried latest upstream yet.
Ah, you are right, the memory is not touched