commit | 459e895f1167bbfc52649c204abc362a592d2bcb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 24 07:39:24 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Apr 24 07:41:30 2020 -0600 |
tree | 3df51927e196127b4ab2d3592971b1ac12e3587a | |
parent | e62b6441c3e16019df07133f90969f0a3e3889c6 [diff] |
test: use mmap() directly in syzbot generated code Guillem reports that some new 32-bit architectures like armel and armhf don't have mmap, just mmap2. Just use mmap() and let libc deal with it, there's no reason why we need to call the specific mmap() system call. Reported-by: Guillem Jover <guillem@hadrons.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>