Searched refs:same_thread_group (Results 1 – 15 of 15) sorted by relevance
/linux/include/linux/ |
H A D | ptrace.h | 7 #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 D | task.c | 355 if (same_thread_group(p, current)) in hook_task_kill()
|
H A D | fs.c | 1795 return !same_thread_group(p, current); in control_current_fowner()
|
/linux/mm/ |
H A D | oom_kill.c | 910 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 D | ptrace.c | 298 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 D | exit.c | 727 if (!same_thread_group(reaper, father)) in forget_original_parent() 1614 same_thread_group(current, parent)); in is_effectively_child()
|
H A D | signal.c | 815 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 D | yama_lsm.c | 315 if (parent != NULL && same_thread_group(parent, tracer)) { in ptracer_exception_found()
|
/linux/include/linux/sched/ |
H A D | signal.h | 706 bool same_thread_group(struct task_struct *p1, struct task_struct *p2) in same_thread_group() function
|
/linux/fs/proc/ |
H A D | base.c | 1184 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 D | cputime.c | 329 if (same_thread_group(current, tsk)) in thread_group_cputime()
|
/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 79 return (tsk && same_thread_group(tsk, current)) ? pid : NULL; in pid_for_clock()
|
/linux/fs/ |
H A D | exec.c | 984 BUG_ON(!same_thread_group(leader, tsk)); in de_thread()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 3250 if (link->task && !same_thread_group(current, link->task)) in uprobe_prog_run()
|
/linux/io_uring/ |
H A D | io_uring.c | 504 if (WARN_ON_ONCE(!same_thread_group(tctx->task, current))) in io_queue_iowq()
|