Searched refs:parent_pid (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/libs/ |
D | tls_properties_helper.cpp | 104 pid_t parent_pid = getppid(); in test_iterate_another_thread_tls() local 105 assert(0 == ptrace(PTRACE_ATTACH, parent_pid)); in test_iterate_another_thread_tls() 106 assert(parent_pid == waitpid(parent_pid, &status, 0)); in test_iterate_another_thread_tls() 111 __libc_iterate_dynamic_tls(parent_pid, cb, nullptr); in test_iterate_another_thread_tls()
|
/bionic/libc/kernel/uapi/linux/ |
D | cn_proc.h | 41 __kernel_pid_t parent_pid; member 80 __kernel_pid_t parent_pid; member 87 __kernel_pid_t parent_pid; member
|
/bionic/libc/bionic/ |
D | clone.cpp | 89 pid_t parent_pid = self->invalidate_cached_pid(); in clone() local 119 self->set_cached_pid(parent_pid); in clone()
|
/bionic/tests/ |
D | unistd_test.cpp | 507 pid_t parent_pid = getpid(); in TestGetPidCachingWithFork() local 508 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TestGetPidCachingWithFork() 515 ASSERT_EQ(parent_pid, getppid()); in TestGetPidCachingWithFork() 519 ASSERT_EQ(parent_pid, getpid()); in TestGetPidCachingWithFork() 620 pid_t parent_pid = getpid(); in TEST() local 621 ASSERT_EQ(syscall(__NR_getpid), parent_pid); in TEST() 626 ASSERT_EQ(parent_pid, getpid()); in TEST() 670 pid_t parent_pid = getpid(); in TEST() local 675 ASSERT_EQ(parent_pid, getpid()); in TEST()
|