Lines Matching refs:tgid
1121 if (p->pid > 1 && p->tgid != current->tgid) {
2163 info.si_pid = current->tgid;
2169 static int do_tkill(int tgid, int pid, int sig)
2179 info.si_pid = current->tgid;
2184 if (p && (tgid <= 0 || p->tgid == tgid)) {
2204 * @tgid: the thread group ID of the thread
2208 * This syscall also checks the @tgid and returns -ESRCH even if the PID
2212 asmlinkage long sys_tgkill(int tgid, int pid, int sig)
2215 if (pid <= 0 || tgid <= 0)
2218 return do_tkill(tgid, pid, sig);