Home
last modified time | relevance | path

Searched refs:thread_group_leader (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/security/yama/
H A Dyama_lsm.c236 if (!thread_group_leader(myself)) in yama_task_prctl()
282 if (!thread_group_leader(parent)) in task_is_descendant()
285 if (!thread_group_leader(walker)) in task_is_descendant()
326 if (!thread_group_leader(tracee)) in ptracer_exception_found()
/openbmc/linux/kernel/
H A Dexit.c146 bool group_dead = thread_group_leader(tsk); in __exit_signal()
743 int sig = thread_group_leader(tsk) && in exit_notify()
748 } else if (thread_group_leader(tsk)) { in exit_notify()
1122 state = (ptrace_reparented(p) && thread_group_leader(p)) ? in wait_task_zombie()
1135 if (state == EXIT_DEAD && thread_group_leader(p)) { in wait_task_zombie()
H A Dtsacct.c48 if (thread_group_leader(tsk) && (tsk->flags & PF_FORKNOEXEC)) in bacct_add_tsk()
H A Dpid_namespace.c174 int init_pids = thread_group_leader(me) ? 1 : 2; in zap_pid_ns_processes()
H A Dacct.c607 if (thread_group_leader(current)) { in acct_collect()
H A Dptrace.c567 dead = !thread_group_leader(p); in __ptrace_detach()
H A Dsys.c1099 if (!thread_group_leader(p)) in SYSCALL_DEFINE2()
H A Dfork.c2677 if (thread_group_leader(p)) { in copy_process()
/openbmc/linux/include/linux/sched/
H A Dsignal.h707 static inline bool thread_group_leader(struct task_struct *p) in thread_group_leader() function
730 (thread_group_leader(p) && !thread_group_empty(p))
/openbmc/linux/fs/
H A Dexec.c1067 if (!thread_group_leader(tsk)) in de_thread()
1085 if (!thread_group_leader(tsk)) { in de_thread()
1167 BUG_ON(!thread_group_leader(tsk)); in de_thread()
H A Dbinfmt_elf_fdpic.c1297 if (thread_group_leader(p)) { in fill_prstatus()
H A Dbinfmt_elf.c1549 if (thread_group_leader(p)) { in fill_prstatus()
/openbmc/linux/kernel/bpf/
H A Dtask_iter.c147 } else if (skip_if_dup_files && !thread_group_leader(task) && in task_seq_get_next()
/openbmc/linux/fs/proc/
H A Dbase.c3903 if (thread_group_leader(pos)) in next_tid()
/openbmc/linux/kernel/cgroup/
H A Dcgroup.c4889 if (!thread_group_leader(task)) in css_task_iter_advance()