// https://syzkaller.appspot.com/bug?id=e995b5a851319f22d71c56a561422367c5ce966c // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include static void execute_one(); void loop() { while (1) { execute_one(); } } void execute_one() { syscall(SYS_populate_va, 0x20000000, 0x800000000000); syscall(SYS_mprotect, 0x20000000, 0x3000, 0x2000000); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (;;) { loop(); } }