Searched refs:__test_metadata (Results 1 – 8 of 8) sorted by relevance
/external/seccomp-tests/ |
D | seccomp_bpf_tests.c | 25 struct __test_metadata { struct 27 void (*fn)(struct __test_metadata *); argument 31 struct __test_metadata *prev, *next; argument 33 extern struct __test_metadata* get_seccomp_test_list(); 34 extern void __run_test(struct __test_metadata*); 37 for (struct __test_metadata* t = get_seccomp_test_list(); t; t = t->next) { in run_seccomp_test()
|
/external/linux-kselftest/tools/testing/selftests/ |
D | kselftest_harness.h | 169 static void test_name(struct __test_metadata *_metadata); \ 170 static struct __test_metadata _##test_name##_object = \ 178 struct __test_metadata __attribute__((unused)) *_metadata) 241 struct __test_metadata __attribute__((unused)) *_metadata, \ 261 struct __test_metadata __attribute__((unused)) *_metadata, \ 290 struct __test_metadata *_metadata, \ 293 struct __test_metadata *_metadata) \ 305 static struct __test_metadata \ 317 struct __test_metadata __attribute__((unused)) *_metadata, \ 629 struct __test_metadata { struct [all …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | test_harness.h | 219 static void test_name(struct __test_metadata *_metadata); \ 220 static struct __test_metadata _##test_name##_object = \ 226 struct __test_metadata __attribute__((unused)) *_metadata) 244 struct __test_metadata __attribute__((unused)) *_metadata, \ 248 struct __test_metadata __attribute__((unused)) *_metadata, \ 263 struct __test_metadata *_metadata, \ 266 struct __test_metadata *_metadata) { \ 276 static struct __test_metadata _##fixture_name##_##test_name##_object = { \ 286 struct __test_metadata __attribute__((unused)) *_metadata, \ 381 struct __test_metadata { struct [all …]
|
D | seccomp_bpf_tests.c | 752 void tracer(struct __test_metadata *_metadata, pid_t tracee, in tracer() 1027 struct __test_metadata *metadata; 1115 struct __test_metadata *_metadata = me->metadata; /* enable TH_LOG */
|
/external/seccomp-tests/linux/ |
D | test_harness.h | 224 static void test_name(struct __test_metadata *_metadata); \ 225 static struct __test_metadata _##test_name##_object = \ 233 struct __test_metadata __attribute__((unused)) *_metadata) 252 struct __test_metadata __attribute__((unused)) *_metadata, \ 256 struct __test_metadata __attribute__((unused)) *_metadata, \ 271 struct __test_metadata *_metadata, \ 274 struct __test_metadata *_metadata) \ 286 static struct __test_metadata \ 298 struct __test_metadata __attribute__((unused)) *_metadata, \ 400 struct __test_metadata { struct [all …]
|
D | seccomp_bpf.c | 1021 typedef void tracer_func_t(struct __test_metadata *_metadata, 1024 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() 1081 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() 1108 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() 1129 void tracer_poke(struct __test_metadata *_metadata, pid_t tracee, int status, in tracer_poke() 1257 int get_syscall(struct __test_metadata *_metadata, pid_t tracee) in get_syscall() 1280 void change_syscall(struct __test_metadata *_metadata, in change_syscall() 1342 void tracer_syscall(struct __test_metadata *_metadata, pid_t tracee, in tracer_syscall() 1636 struct __test_metadata *metadata; 2243 struct __test_metadata* get_seccomp_test_list() { in get_seccomp_test_list()
|
/external/linux-kselftest/android/patches/ |
D | 0017-seccomp_bpf_disable_tests.patch | 36 @@ -677,6 +681,7 @@ void kill_thread_or_group(struct __test_metadata *_metadata, bool kill_process) 68 @@ -1717,8 +1725,10 @@ void tracer_ptrace(struct __test_metadata *_metadata, pid_t tracee,
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 638 void kill_thread_or_group(struct __test_metadata *_metadata, bool kill_process) in kill_thread_or_group() 1326 typedef void tracer_func_t(struct __test_metadata *_metadata, 1329 void start_tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in start_tracer() 1391 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() 1419 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() 1440 void tracer_poke(struct __test_metadata *_metadata, pid_t tracee, int status, in tracer_poke() 1585 int get_syscall(struct __test_metadata *_metadata, pid_t tracee) in get_syscall() 1612 void change_syscall(struct __test_metadata *_metadata, in change_syscall() 1685 void tracer_syscall(struct __test_metadata *_metadata, pid_t tracee, in tracer_syscall() 1720 void tracer_ptrace(struct __test_metadata *_metadata, pid_t tracee, in tracer_ptrace() [all …]
|