Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dptrace.h7 #include <linux/sched/signal.h> /* For send_sig(), same_thread_group(), etc. */
92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented()
/linux/security/landlock/
H A Dtask.c355 if (same_thread_group(p, current)) in hook_task_kill()
H A Dfs.c1795 return !same_thread_group(p, current); in control_current_fowner()
/linux/mm/
H A Doom_kill.c910 if (same_thread_group(task, p)) in task_will_free_mem()
976 if (same_thread_group(p, victim)) in __oom_kill_process()
/linux/kernel/
H A Dptrace.c298 if (same_thread_group(task, current)) in __ptrace_may_access()
439 if (same_thread_group(task, current)) in ptrace_attach()
550 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach()
H A Dexit.c727 if (!same_thread_group(reaper, father)) in forget_original_parent()
1614 same_thread_group(current, parent)); in is_effectively_child()
H A Dsignal.c815 if (!same_thread_group(current, t) && in check_kill_permission()
1593 !same_thread_group(p, current)) { in kill_something_info()
1971 same_thread_group(t, current) && !current->exit_state) in posixtimer_get_target()
/linux/security/yama/
H A Dyama_lsm.c315 if (parent != NULL && same_thread_group(parent, tracer)) { in ptracer_exception_found()
/linux/include/linux/sched/
H A Dsignal.h706 bool same_thread_group(struct task_struct *p1, struct task_struct *p2) in same_thread_group() function
/linux/fs/proc/
H A Dbase.c1184 if (same_thread_group(task, p)) in __set_oom_adj()
1738 if (same_thread_group(current, p)) { in comm_write()
3642 is_same_tgroup = same_thread_group(current, task); in proc_tid_comm_permission()
3833 if (!same_thread_group(leader, task)) in proc_task_lookup()
3874 if (pos && same_thread_group(pos, task)) in first_tid()
/linux/kernel/sched/
H A Dcputime.c329 if (same_thread_group(current, tsk)) in thread_group_cputime()
/linux/kernel/time/
H A Dposix-cpu-timers.c79 return (tsk && same_thread_group(tsk, current)) ? pid : NULL; in pid_for_clock()
/linux/fs/
H A Dexec.c984 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
/linux/kernel/trace/
H A Dbpf_trace.c3250 if (link->task && !same_thread_group(current, link->task)) in uprobe_prog_run()
/linux/io_uring/
H A Dio_uring.c504 if (WARN_ON_ONCE(!same_thread_group(tctx->task, current))) in io_queue_iowq()