Lines Matching refs:task2
99 struct task_struct *task1, *task2; in SYSCALL_DEFINE5() local
108 task2 = find_task_by_vpid(pid2); in SYSCALL_DEFINE5()
109 if (!task1 || !task2) in SYSCALL_DEFINE5()
113 get_task_struct(task2); in SYSCALL_DEFINE5()
121 &task2->signal->cred_guard_mutex); in SYSCALL_DEFINE5()
125 !ptrace_may_access(task2, PTRACE_MODE_READ)) { in SYSCALL_DEFINE5()
135 filp2 = get_file_raw_ptr(task2, idx2); in SYSCALL_DEFINE5()
144 ret = kcmp_ptr(task1->mm, task2->mm, KCMP_VM); in SYSCALL_DEFINE5()
147 ret = kcmp_ptr(task1->files, task2->files, KCMP_FILES); in SYSCALL_DEFINE5()
150 ret = kcmp_ptr(task1->fs, task2->fs, KCMP_FS); in SYSCALL_DEFINE5()
153 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
156 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
161 task2->sysvsem.undo_list, in SYSCALL_DEFINE5()
174 &task2->signal->cred_guard_mutex); in SYSCALL_DEFINE5()
177 put_task_struct(task2); in SYSCALL_DEFINE5()