Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 21:12:28 +0200
From:      Gunther Nikl <gnikl@justmail.de>
To:        Mark Johnston <markj@freebsd.org>
Cc:        svn-src-user@freebsd.org
Subject:   Re: svn commit: r359820 - user/pho/stress2/misc
Message-ID:  <20200420211228.00001478@justmail.de>
In-Reply-To: <20200412162539.GA2519@raichu>
References:  <202004120559.03C5xKI3099770@repo.freebsd.org> <20200412162539.GA2519@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help
[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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200420211228.00001478>