Home
last modified time | relevance | path

Searched refs:real_parent (Results 1 – 25 of 26) sorted by relevance

12

/linux/kernel/
A Dexit.c278 is_global_init(p->real_parent)) in will_become_orphaned_pgrp()
281 if (task_pgrp(p->real_parent) != pgrp && in will_become_orphaned_pgrp()
282 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp()
327 parent = tsk->real_parent; in kill_orphaned_pgrp()
420 list_for_each_entry(c, &p->real_parent->children, sibling) { in mm_update_next_owner()
580 for (reaper = father->real_parent; in find_new_reaper()
582 reaper = reaper->real_parent) { in find_new_reaper()
644 RCU_INIT_POINTER(t->real_parent, reaper); in forget_original_parent()
647 t->parent = t->real_parent; in forget_original_parent()
1453 !ptrace ? target->real_parent : target->parent; in is_effectively_child()
A Dptrace.c126 child->parent = child->real_parent; in __ptrace_unlink()
497 if (!ret && !(current->real_parent->flags & PF_EXITING)) { in ptrace_traceme()
499 ptrace_link(current, current->real_parent); in ptrace_traceme()
547 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach()
A Dtsacct.c60 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
A Dfork.c2315 p->real_parent = current->real_parent; in copy_process()
2322 p->real_parent = current; in copy_process()
2378 p->signal->has_child_subreaper = p->real_parent->signal->has_child_subreaper || in copy_process()
2379 p->real_parent->signal->is_child_subreaper; in copy_process()
2380 list_add_tail(&p->sibling, &p->real_parent->children); in copy_process()
2885 parent = child->real_parent; in walk_process_tree()
A Dacct.c506 ac.ac_ppid = task_tgid_nr_ns(rcu_dereference(current->real_parent), in do_acct_process()
A Dsys.c946 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in SYSCALL_DEFINE0()
1068 if (same_thread_group(p->real_parent, group_leader)) { in SYSCALL_DEFINE2()
A Dsignal.c2134 parent = tsk->real_parent; in do_notify_parent_cldstop()
/linux/include/linux/
A Dptrace.h99 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented()
214 child->parent = child->real_parent; in ptrace_init_task()
A Dsched.h955 struct task_struct __rcu *real_parent; member
1595 pid = task_tgid_nr_ns(rcu_dereference(tsk->real_parent), ns); in task_ppid_nr_ns()
/linux/drivers/connector/
A Dcn_proc.c85 parent = rcu_dereference(task->real_parent); in proc_fork_connector()
262 parent = rcu_dereference(task->real_parent); in proc_coredump_connector()
297 parent = rcu_dereference(task->real_parent); in proc_exit_connector()
/linux/arch/alpha/kernel/
A Dasm-offsets.c24 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
/linux/fs/proc/
A Darray.c155 task_tgid_nr_ns(rcu_dereference(p->real_parent), ns) : 0; in task_state()
537 ppid = task_tgid_nr_ns(task->real_parent, ns); in do_task_stat()
709 if (task && task->real_parent == start && in get_children_pid()
/linux/include/linux/sched/
A Dmm.h173 rcu_dereference(tsk->real_parent)->mm == tsk->mm; in in_vfork()
/linux/init/
A Dinit_task.c107 .real_parent = &init_task,
/linux/security/yama/
A Dyama_lsm.c291 walker = rcu_dereference(walker->real_parent); in task_is_descendant()
/linux/tools/testing/selftests/bpf/progs/
A Dprofiler.inc.h191 parent = BPF_CORE_READ(parent, real_parent); in populate_ancestors()
714 struct task_struct* parent_task = BPF_CORE_READ(task, real_parent); in raw_tracepoint__sched_process_exec()
/linux/arch/ia64/kernel/
A Dasm-offsets.c58 DEFINE(IA64_TASK_REAL_PARENT_OFFSET, offsetof (struct task_struct, real_parent)); in foo()
A Dmca.c1794 p->parent = p->real_parent = p->group_leader = p; in format_mca_init_stack()
/linux/fs/
A Dbinfmt_elf_fdpic.c1296 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1344 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
A Dbinfmt_elf.c1521 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1570 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
/linux/security/tomoyo/
A Dcommon.h1139 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in tomoyo_sys_getppid()
/linux/Documentation/staging/
A Dstatic-keys.rst225 pid = task_tgid_vnr(rcu_dereference(current->real_parent));
/linux/security/keys/
A Dkeyctl.c1654 parent = rcu_dereference_protected(me->real_parent, in keyctl_session_to_parent()
/linux/kernel/events/
A Dcore.c7834 task->real_parent); in perf_event_task_output()
7836 task->real_parent); in perf_event_task_output()
/linux/security/selinux/
A Dhooks.c2593 __wake_up_parent(current, current->real_parent); in selinux_bprm_committed_creds()

Completed in 87 milliseconds

12