Lines Matching defs:parent
93 * parent_pid - Process ID of the parent process.
115 /* If new process has been forked, it inherits a copy of parent's
116 * process heap, as well as parent's mmaping of loaded modules. So, on
117 * fork we're required to copy parent's allocation descriptors map, as
118 * well as parent's mmapping map to the new process. */
120 ProcDesc* parent = get_process_from_pid(parent_pid);
121 if (parent == NULL) {
122 ME("memcheck: Unable to get parent process pid=%u for new process pid=%u",
128 /* Copy parent's allocation map, setting "inherited" flag, and clearing
129 * parent's "transition" flag in the copied entries. */
130 failed = allocmap_copy(&new_proc->alloc_map, &parent->alloc_map,
135 parent->image_path, parent_pid, pid);
141 // Copy parent's memory mappings map.
142 failed = mmrangemap_copy(&new_proc->mmrange_map, &parent->mmrange_map);
145 parent->image_path, parent_pid, pid);
259 * parent process. However, it seems that "fork" in terms of TRACE_XXX
262 * inherited from the parent process. */
481 ME("memcheck: FORK(%u, %u): Unable to look up parent process. Current tid=%u",
487 MD("memcheck: FORK(%u, %u): parent %s[pid=%u] is not the current process %s[pid=%u]",
497 /* Since we're possibly forking parent process, we need to inherit
498 * parent's image path in the forked process. */
520 ME("memcheck: CLONE(%u, %u) Unable to look up parent process. Current tid=%u",
526 ME("memcheck: CLONE(%u, %u): parent %s[pid=%u] is not the current process %s[pid=%u]",
568 * the parent process, since this process has become "independent" from
569 * its parent. */
612 * parent process on fork, or were allocated while process was