// autogenerated by syzkaller (https://github.com/google/syzkaller) #include #include #include #include #include int main(void) { int sock = socket(PF_PACKET, SOCK_RAW, 0x300); if (sock == -1) return 1; uint16_t rcv_arg[2] = {0, 6}; setsockopt(sock, SOL_PACKET, /*SO_RCVLOWAT*/0x12, &rcv_arg, sizeof(rcv_arg)); struct sock_filter code[] = { {0x16, 0, 0, 0} }; struct sock_fprog bpf = {1, code}; setsockopt(sock, SOL_PACKET, /*SO_SECURITY_AUTHENTICATION*/0x16, &bpf, sizeof(bpf)); sleep(10); return 0; }