D | seccomp_bpf.c | 391 struct sock_filter filter[] = { in TEST() local 395 .len = (unsigned short)ARRAY_SIZE(filter), in TEST() 396 .filter = filter, in TEST() 427 struct sock_filter *filter; in TEST() local 431 filter = calloc(count, sizeof(*filter)); in TEST() 432 ASSERT_NE(NULL, filter); in TEST() 435 filter[i] = allow[0]; in TEST() 440 prog.filter = filter; in TEST() 464 struct sock_filter *filter; in TEST() local 468 filter = calloc(count, sizeof(*filter)); in TEST() [all …]
|