Home
last modified time | relevance | path

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

/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c620 struct sock_fprog trap; in FIXTURE_DATA() local
665 FILTER_ALLOC(trap); in FIXTURE_SETUP()
674 FILTER_FREE(trap); in FIXTURE_TEARDOWN()
690 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F()
711 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
736 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
755 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
770 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()