Lines Matching refs:child_data
232 struct thread_data child_data; in TEST_F() local
234 child_data.parent_pid = getppid(); in TEST_F()
236 child_data.pipe_child = pipe_child[1]; in TEST_F()
238 child_data.pipe_parent = pipe_parent[0]; in TEST_F()
239 child_data.ruleset_fd = in TEST_F()
241 ASSERT_LE(0, child_data.ruleset_fd); in TEST_F()
247 &child_data)); in TEST_F()
255 child_data.parent_pid, &denial_dom)); in TEST_F()
455 struct thread_data child_data = {}; in TEST_F() local
461 child_data.parent_pid = getppid(); in TEST_F()
463 child_data.pipe_child = pipe_child[1]; in TEST_F()
465 child_data.pipe_parent = pipe_parent[0]; in TEST_F()
466 child_data.ruleset_fd = in TEST_F()
468 ASSERT_LE(0, child_data.ruleset_fd); in TEST_F()
474 &child_data)); in TEST_F()
485 child_data.parent_pid, NULL)); in TEST_F()
508 child_data.parent_pid, NULL)); in TEST_F()
538 struct thread_data child_data = {}; in TEST_F() local
544 child_data.parent_pid = getppid(); in TEST_F()
546 child_data.pipe_child = pipe_child[1]; in TEST_F()
548 child_data.pipe_parent = pipe_parent[0]; in TEST_F()
549 child_data.ruleset_fd = in TEST_F()
551 ASSERT_LE(0, child_data.ruleset_fd); in TEST_F()
555 child_data.mute_subdomains = true; in TEST_F()
559 &child_data)); in TEST_F()
569 child_data.parent_pid, NULL)); in TEST_F()
579 ASSERT_EQ(0, landlock_restrict_self(child_data.ruleset_fd, in TEST_F()
592 child_data.parent_pid, NULL)); in TEST_F()