// autogenerated by syzkaller (http://github.com/google/syzkaller)

#define _GNU_SOURCE
#include <endian.h>
#include <stdint.h>
#include <string.h>
#include <sys/syscall.h>
#include <unistd.h>

long r[1];
void loop()
{
  memset(r, -1, sizeof(r));
  syscall(__NR_mmap, 0x20000000, 0xfff000, 3, 0x32, -1, 0);
  r[0] = syscall(__NR_socket, 0x1e, 1, 0);
  *(uint32_t*)0x20540ff0 = 0x3fc;
  *(uint32_t*)0x20540ff4 = 0;
  *(uint32_t*)0x20540ff8 = 0;
  *(uint32_t*)0x20540ffc = 0;
  syscall(__NR_setsockopt, r[0], 0x10f, 0x87, 0x20540ff0, 0x10);
}

int main()
{
  loop();
  return 0;
}
