// https://syzkaller.appspot.com/bug?id=8aae4a4419fc238d9c6b55584611f2dbdd8eb99e // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_mlock2 #define __NR_mlock2 325 #endif int main(void) { syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mlock2, 0x20ffb000ul, 0x2000ul, 0ul); syscall(__NR_mlockall, 3ul); return 0; }