Home
last modified time | relevance | path

Searched refs:root_filter (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c1040 struct sock_filter root_filter[] = {
1053 self->root_prog.filter = malloc(sizeof(root_filter));
1055 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter));
1056 self->root_prog.len = (unsigned short)(sizeof(root_filter)/sizeof(root_filter[0]));
/external/seccomp-tests/linux/
Dseccomp_bpf.c1650 struct sock_filter root_filter[] = { in FIXTURE_SETUP() local
1664 self->root_prog.filter = malloc(sizeof(root_filter)); in FIXTURE_SETUP()
1666 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter)); in FIXTURE_SETUP()
1667 self->root_prog.len = (unsigned short)ARRAY_SIZE(root_filter); in FIXTURE_SETUP()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2227 struct sock_filter root_filter[] = { in FIXTURE_SETUP() local
2241 self->root_prog.filter = malloc(sizeof(root_filter)); in FIXTURE_SETUP()
2243 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter)); in FIXTURE_SETUP()
2244 self->root_prog.len = (unsigned short)ARRAY_SIZE(root_filter); in FIXTURE_SETUP()