svn commit: r359820 - user/pho/stress2/misc

Gunther Nikl gnikl at justmail.de
Mon Apr 20 19:15:11 UTC 2020


[CC trimmed]

On Sun, Apr 12 2020 12:25:39 -0400, Mark Johnston wrote:
> 
> There is a bug in old reproducers that causes them to fail.
> Specifically, the call:
> 
>   syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0);
> 
> should be
> 
>   syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0ul);

I wonder what Bruce Evans would have said about this. Using a cast for the
terminating parameter would achieve the same result but there probably is
not an always correct pick available.

> There is some discussion of the problem here:
> https://github.com/google/syzkaller/pull/1493

Regards,
Gunther Nikl


More information about the svn-src-user mailing list