// autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include void loop() { syscall(__NR_mmap, 0x20000000, 0x6000, 3, 0x32, -1, 0); memcpy((void*)0x20005ff6, "id_legacy", 10); *(uint8_t*)0x20000000 = 0x73; *(uint8_t*)0x20000001 = 0x79; *(uint8_t*)0x20000002 = 0x7a; *(uint8_t*)0x20000003 = 0; *(uint8_t*)0x20000004 = 0; memcpy((void*)0x20000000, "user:-self", 11); syscall(__NR_request_key, 0x20005ff6, 0x20000000, 0x20000000, 0xfffffffe); } int main() { loop(); return 0; }