Home
last modified time | relevance | path

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

/linux-6.15/security/yama/
H A Dyama_lsm.c277 if (!thread_group_leader(parent)) in task_is_descendant()
280 if (!thread_group_leader(walker)) in task_is_descendant()
321 if (!thread_group_leader(tracee)) in ptracer_exception_found()
/linux-6.15/include/linux/sched/
H A Dsignal.h700 static inline bool thread_group_leader(struct task_struct *p) in thread_group_leader() function
729 return thread_group_leader(p) && in thread_group_empty()
734 (thread_group_leader(p) && !thread_group_empty(p))
/linux-6.15/kernel/
H A Dexit.c156 bool group_dead = thread_group_leader(tsk); in __exit_signal()
298 if (thread_group_leader(p)) in release_task()
764 int sig = thread_group_leader(tsk) && in exit_notify()
769 } else if (thread_group_leader(tsk)) { in exit_notify()
1181 state = (ptrace_reparented(p) && thread_group_leader(p)) ? in wait_task_zombie()
1194 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.c196 int init_pids = thread_group_leader(me) ? 1 : 2; in zap_pid_ns_processes()
H A Dacct.c606 if (thread_group_leader(current)) { in acct_collect()
H A Dptrace.c547 dead = !thread_group_leader(p); in __ptrace_detach()
H A Dsys.c1111 if (!thread_group_leader(p)) in SYSCALL_DEFINE2()
H A Dfork.c2612 if (thread_group_leader(p)) { in copy_process()
/linux-6.15/fs/
H A Dexec.c1040 if (!thread_group_leader(tsk)) in de_thread()
1058 if (!thread_group_leader(tsk)) { in de_thread()
1139 BUG_ON(!thread_group_leader(tsk)); in de_thread()
H A Dbinfmt_elf_fdpic.c1304 if (thread_group_leader(p)) { in fill_prstatus()
H A Dbinfmt_elf.c1554 if (thread_group_leader(p)) { in fill_prstatus()
/linux-6.15/kernel/bpf/
H A Dtask_iter.c126 } else if (skip_if_dup_files && !thread_group_leader(task) && in task_seq_get_next()
/linux-6.15/kernel/cgroup/
H A Dcgroup.c4985 if (!thread_group_leader(task)) in css_task_iter_advance()
6825 if (thread_group_leader(tsk) && atomic_read(&tsk->signal->live)) in cgroup_exit()