ptrace             15 arch/csky/kernel/asm-offsets.c 	DEFINE(TASK_PTRACE,       offsetof(struct task_struct, ptrace));
ptrace             26 arch/h8300/kernel/asm-offsets.c 	OFFSET(TASK_PTRACE, task_struct, ptrace);
ptrace            277 arch/m68k/kernel/ptrace.c 	ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD)
ptrace             76 arch/microblaze/kernel/asm-offsets.c 	DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace));
ptrace             43 arch/openrisc/kernel/asm-offsets.c 	DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace));
ptrace             48 arch/parisc/kernel/asm-offsets.c 	DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace));
ptrace             79 arch/s390/kernel/traps.c 	if (!current->ptrace)
ptrace            167 arch/s390/kernel/traps.c 			if (current->ptrace)
ptrace             47 arch/um/kernel/exec.c 	current->ptrace &= ~PT_DTRACE;
ptrace            383 arch/um/kernel/process.c 	if (!(task->ptrace & PT_DTRACE))
ptrace             15 arch/um/kernel/ptrace.c 	child->ptrace |= PT_DTRACE;
ptrace             25 arch/um/kernel/ptrace.c 	child->ptrace &= ~PT_DTRACE;
ptrace            143 arch/um/kernel/ptrace.c 	int ptraced = current->ptrace;
ptrace             56 arch/um/kernel/signal.c 	if ((current->ptrace & PT_DTRACE) && (current->ptrace & PT_PTRACED))
ptrace            131 arch/um/kernel/signal.c 	if (current->ptrace & PT_DTRACE)
ptrace            118 arch/um/os-Linux/process.c 	ptrace(PTRACE_KILL, pid);
ptrace            119 arch/um/os-Linux/process.c 	ptrace(PTRACE_CONT, pid);
ptrace             18 arch/um/os-Linux/registers.c 	err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp);
ptrace             28 arch/um/os-Linux/registers.c 	err = ptrace(PTRACE_SETREGS, pid, 0, regs->gp);
ptrace             43 arch/um/os-Linux/registers.c 	err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs);
ptrace             65 arch/um/os-Linux/skas/mem.c 	err = ptrace(PTRACE_CONT, pid, 0, 0);
ptrace             36 arch/um/os-Linux/skas/process.c 	if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
ptrace             67 arch/um/os-Linux/skas/process.c 		err = ptrace(PTRACE_CONT, pid, 0, 0);
ptrace            101 arch/um/os-Linux/skas/process.c 	err = ptrace(PTRACE_CONT, pid, 0, SIGSEGV);
ptrace            143 arch/um/os-Linux/skas/process.c 		err = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_NR_OFFSET,
ptrace            151 arch/um/os-Linux/skas/process.c 		err = ptrace(PTRACE_SYSCALL, pid, 0, 0);
ptrace            198 arch/um/os-Linux/skas/process.c 	ptrace(PTRACE_TRACEME, 0, 0, 0);
ptrace            312 arch/um/os-Linux/skas/process.c 	if (ptrace(PTRACE_OLDSETOPTIONS, pid, NULL,
ptrace            354 arch/um/os-Linux/skas/process.c 		if (ptrace(PTRACE_SETREGS, pid, 0, regs->gp)) {
ptrace            372 arch/um/os-Linux/skas/process.c 		if (ptrace(op, pid, 0, 0)) {
ptrace            386 arch/um/os-Linux/skas/process.c 		if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) {
ptrace            403 arch/um/os-Linux/skas/process.c 			ptrace(PTRACE_GETSIGINFO, pid, 0, (struct siginfo *)&si);
ptrace            507 arch/um/os-Linux/skas/process.c 	err = ptrace(PTRACE_CONT, pid, 0, 0);
ptrace            536 arch/um/os-Linux/skas/process.c 	if (ptrace(PTRACE_OLDSETOPTIONS, pid, NULL,
ptrace             36 arch/um/os-Linux/start_up.c 	    ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) {
ptrace            125 arch/um/os-Linux/start_up.c 	if (ptrace(PTRACE_CONT, pid, 0, 0) < 0) {
ptrace            173 arch/um/os-Linux/start_up.c 	if (ptrace(PTRACE_SYSEMU, pid, 0, 0) < 0)
ptrace            183 arch/um/os-Linux/start_up.c 	if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
ptrace            191 arch/um/os-Linux/start_up.c 	n = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_RET_OFFSET, os_getpid());
ptrace            208 arch/um/os-Linux/start_up.c 	if ((ptrace(PTRACE_OLDSETOPTIONS, pid, 0,
ptrace            214 arch/um/os-Linux/start_up.c 		if (ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, 0) < 0)
ptrace            227 arch/um/os-Linux/start_up.c 			n = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_RET_OFFSET,
ptrace            266 arch/um/os-Linux/start_up.c 	if ((ptrace(PTRACE_OLDSETOPTIONS, pid, 0,
ptrace            271 arch/um/os-Linux/start_up.c 		if (ptrace(PTRACE_SYSCALL, pid, 0, 0) < 0)
ptrace            283 arch/um/os-Linux/start_up.c 		syscall = ptrace(PTRACE_PEEKUSER, pid, PT_SYSCALL_NR_OFFSET,
ptrace            286 arch/um/os-Linux/start_up.c 			n = ptrace(PTRACE_POKEUSER, pid, PT_SYSCALL_NR_OFFSET,
ptrace            119 arch/unicore32/kernel/ptrace.c 	if (!(current->ptrace & PT_PTRACED))
ptrace            133 arch/unicore32/kernel/ptrace.c 	ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD)
ptrace             11 arch/x86/um/os-Linux/prctl.c 	return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) arg2, option);
ptrace             23 arch/x86/um/os-Linux/registers.c 	if (ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0)
ptrace             36 arch/x86/um/os-Linux/registers.c 		if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) < 0)
ptrace             46 arch/x86/um/os-Linux/registers.c 	if (ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0)
ptrace             58 arch/x86/um/os-Linux/registers.c 		if (ptrace(PTRACE_SETREGSET, pid, NT_X86_XSTATE, &iov) < 0)
ptrace             70 arch/x86/um/os-Linux/registers.c 	if (ptrace(PTRACE_GETFPXREGS, pid, 0, fp_regs) < 0)
ptrace             77 arch/x86/um/os-Linux/registers.c 	if (ptrace(PTRACE_SETFPXREGS, pid, 0, fp_regs) < 0)
ptrace            103 arch/x86/um/os-Linux/registers.c 	err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs);
ptrace            137 arch/x86/um/os-Linux/registers.c 	if (ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, &iov) == 0)
ptrace             52 arch/x86/um/os-Linux/tls.c 	ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number,
ptrace             63 arch/x86/um/os-Linux/tls.c 	ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number,
ptrace             11 arch/x86/um/ptrace_user.c 	if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0)
ptrace             18 arch/x86/um/ptrace_user.c 	if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
ptrace             73 arch/xtensa/kernel/asm-offsets.c 	DEFINE(TASK_PTRACE, offsetof (struct task_struct, ptrace));
ptrace            228 arch/xtensa/kernel/ptrace.c 	child->ptrace |= PT_SINGLESTEP;
ptrace            233 arch/xtensa/kernel/ptrace.c 	child->ptrace &= ~PT_SINGLESTEP;
ptrace            468 arch/xtensa/kernel/signal.c 		if (current->ptrace & PT_SINGLESTEP)
ptrace            494 arch/xtensa/kernel/signal.c 	if (current->ptrace & PT_SINGLESTEP)
ptrace            192 drivers/connector/cn_proc.c 	ev->event_data.ptrace.process_pid  = task->pid;
ptrace            193 drivers/connector/cn_proc.c 	ev->event_data.ptrace.process_tgid = task->tgid;
ptrace            195 drivers/connector/cn_proc.c 		ev->event_data.ptrace.tracer_pid  = current->pid;
ptrace            196 drivers/connector/cn_proc.c 		ev->event_data.ptrace.tracer_tgid = current->tgid;
ptrace            198 drivers/connector/cn_proc.c 		ev->event_data.ptrace.tracer_pid  = 0;
ptrace            199 drivers/connector/cn_proc.c 		ev->event_data.ptrace.tracer_tgid = 0;
ptrace           1174 fs/exec.c      		if (unlikely(leader->ptrace))
ptrace           1489 fs/exec.c      	if (p->ptrace)
ptrace            104 include/linux/ptrace.h 	if (unlikely(child->ptrace))
ptrace            126 include/linux/ptrace.h 	if (unlikely(task->ptrace))
ptrace            142 include/linux/ptrace.h 	return task->ptrace & PT_EVENT_FLAG(event);
ptrace            162 include/linux/ptrace.h 		if ((current->ptrace & (PT_PTRACED|PT_SEIZED)) == PT_PTRACED)
ptrace            208 include/linux/ptrace.h static inline void ptrace_init_task(struct task_struct *child, bool ptrace)
ptrace            213 include/linux/ptrace.h 	child->ptrace = 0;
ptrace            216 include/linux/ptrace.h 	if (unlikely(ptrace) && current->ptrace) {
ptrace            217 include/linux/ptrace.h 		child->ptrace = current->ptrace;
ptrace            220 include/linux/ptrace.h 		if (child->ptrace & PT_SEIZED)
ptrace            645 include/linux/sched.h 	unsigned int			ptrace;
ptrace             60 include/linux/tracehook.h 	int ptrace = current->ptrace;
ptrace             62 include/linux/tracehook.h 	if (!(ptrace & PT_PTRACED))
ptrace             66 include/linux/tracehook.h 	ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0));
ptrace            108 include/uapi/linux/cn_proc.h 		} ptrace;
ptrace            587 kernel/exit.c  	if (!p->ptrace &&
ptrace            623 kernel/exit.c  			BUG_ON((!t->ptrace) != (t->parent == father));
ptrace            624 kernel/exit.c  			if (likely(!t->ptrace))
ptrace            658 kernel/exit.c  	if (unlikely(tsk->ptrace)) {
ptrace            942 kernel/exit.c  eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p)
ptrace            951 kernel/exit.c  	if (ptrace || (wo->wo_flags & __WALL))
ptrace           1103 kernel/exit.c  static int *task_stopped_code(struct task_struct *p, bool ptrace)
ptrace           1105 kernel/exit.c  	if (ptrace) {
ptrace           1134 kernel/exit.c  				int ptrace, struct task_struct *p)
ptrace           1144 kernel/exit.c  	if (!ptrace && !(wo->wo_flags & WUNTRACED))
ptrace           1147 kernel/exit.c  	if (!task_stopped_code(p, ptrace))
ptrace           1153 kernel/exit.c  	p_code = task_stopped_code(p, ptrace);
ptrace           1179 kernel/exit.c  	why = ptrace ? CLD_TRAPPED : CLD_STOPPED;
ptrace           1257 kernel/exit.c  static int wait_consider_task(struct wait_opts *wo, int ptrace,
ptrace           1271 kernel/exit.c  	ret = eligible_child(wo, ptrace, p);
ptrace           1280 kernel/exit.c  		if (likely(!ptrace))
ptrace           1285 kernel/exit.c  	if (likely(!ptrace) && unlikely(p->ptrace)) {
ptrace           1298 kernel/exit.c  			ptrace = 1;
ptrace           1310 kernel/exit.c  			if (unlikely(ptrace) || likely(!p->ptrace))
ptrace           1334 kernel/exit.c  		if (likely(!ptrace) || (wo->wo_flags & (WCONTINUED | WEXITED)))
ptrace           1348 kernel/exit.c  	ret = wait_task_stopped(wo, ptrace, p);
ptrace             52 kernel/ptrace.c 	if (!tsk->ptrace ||
ptrace            118 kernel/ptrace.c 	BUG_ON(!child->ptrace);
ptrace            132 kernel/ptrace.c 	child->ptrace = 0;
ptrace            196 kernel/ptrace.c 	WARN_ON(!task->ptrace || task->parent != current);
ptrace            241 kernel/ptrace.c 	if (child->ptrace && child->parent == current) {
ptrace            408 kernel/ptrace.c 	if (task->ptrace)
ptrace            413 kernel/ptrace.c 	task->ptrace = flags;
ptrace            479 kernel/ptrace.c 	if (!current->ptrace) {
ptrace            487 kernel/ptrace.c 			current->ptrace = PT_PTRACED;
ptrace            562 kernel/ptrace.c 	WARN_ON(!child->ptrace || child->exit_state);
ptrace            585 kernel/ptrace.c 		if (unlikely(p->ptrace & PT_EXITKILL))
ptrace            661 kernel/ptrace.c 		    current->ptrace & PT_SUSPEND_SECCOMP)
ptrace            666 kernel/ptrace.c 	flags = child->ptrace;
ptrace            669 kernel/ptrace.c 	child->ptrace = flags;
ptrace           1005 kernel/ptrace.c 	bool seized = child->ptrace & PT_SEIZED;
ptrace           1242 kernel/ptrace.c SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr,
ptrace           1389 kernel/ptrace.c COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid,
ptrace            712 kernel/seccomp.c 	    unlikely(current->ptrace & PT_SUSPEND_SECCOMP))
ptrace            926 kernel/seccomp.c 	    unlikely(current->ptrace & PT_SUSPEND_SECCOMP))
ptrace            116 kernel/signal.c 	if (t->ptrace && sig != SIGKILL)
ptrace            564 kernel/signal.c 	return !tsk->ptrace;
ptrace            882 kernel/signal.c 	WARN_ON_ONCE(!(t->ptrace & PT_SEIZED));
ptrace            929 kernel/signal.c 			if (likely(!(t->ptrace & PT_SEIZED)))
ptrace           1033 kernel/signal.c 	    (sig == SIGKILL || !p->ptrace)) {
ptrace           1331 kernel/signal.c 	if (action->sa.sa_handler == SIG_DFL && !t->ptrace)
ptrace           1923 kernel/signal.c 	BUG_ON(!tsk->ptrace &&
ptrace           1974 kernel/signal.c 	if (!tsk->ptrace && sig == SIGCHLD &&
ptrace           2081 kernel/signal.c 	if (!likely(current->ptrace))
ptrace           2360 kernel/signal.c 				if (likely(!(t->ptrace & PT_SEIZED)))
ptrace           2368 kernel/signal.c 	if (likely(!current->ptrace)) {
ptrace           2431 kernel/signal.c 	if (current->ptrace & PT_SEIZED) {
ptrace           2638 kernel/signal.c 		if (unlikely(current->ptrace) && signr != SIGKILL) {
ptrace            973 mm/nommu.c     	if ((flags & MAP_PRIVATE) && current->ptrace)
ptrace             40 tools/perf/arch/x86/tests/bp-modify.c 		int err = ptrace(PTRACE_TRACEME, 0, NULL, NULL);
ptrace             81 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_POKEUSER, child,
ptrace             88 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_POKEUSER, child,
ptrace             95 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_POKEUSER, child,
ptrace            101 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_CONT, child, NULL, NULL)) {
ptrace            112 tools/perf/arch/x86/tests/bp-modify.c 	rip = ptrace(PTRACE_PEEKUSER, child,
ptrace            123 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_DETACH, child, NULL, NULL)) {
ptrace            158 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_POKEUSER, child,
ptrace            165 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_POKEUSER, child,
ptrace            171 tools/perf/arch/x86/tests/bp-modify.c 	if (!ptrace(PTRACE_POKEUSER, child,
ptrace            177 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_CONT, child, NULL, NULL)) {
ptrace            188 tools/perf/arch/x86/tests/bp-modify.c 	rip = ptrace(PTRACE_PEEKUSER, child,
ptrace            199 tools/perf/arch/x86/tests/bp-modify.c 	if (ptrace(PTRACE_DETACH, child, NULL, NULL)) {
ptrace             46 tools/testing/selftests/breakpoints/breakpoint_test.c 	ret = ptrace(PTRACE_POKEUSER, child_pid,
ptrace             88 tools/testing/selftests/breakpoints/breakpoint_test.c 	dr7 = ptrace(PTRACE_PEEKUSER, child_pid,
ptrace            108 tools/testing/selftests/breakpoints/breakpoint_test.c 	ret = ptrace(PTRACE_POKEUSER, child_pid,
ptrace            209 tools/testing/selftests/breakpoints/breakpoint_test.c 	ret = ptrace(PTRACE_TRACEME, 0, NULL, 0);
ptrace            276 tools/testing/selftests/breakpoints/breakpoint_test.c 		child_nr_tests = ptrace(PTRACE_PEEKDATA, child_pid,
ptrace            280 tools/testing/selftests/breakpoints/breakpoint_test.c 		if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1))
ptrace            299 tools/testing/selftests/breakpoints/breakpoint_test.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            321 tools/testing/selftests/breakpoints/breakpoint_test.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            377 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            381 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            384 tools/testing/selftests/breakpoints/breakpoint_test.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace             37 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c 	if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) {
ptrace             98 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c 	if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0)
ptrace            146 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c 	if (ptrace(PTRACE_CONT, pid, NULL, NULL) < 0) {
ptrace            173 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c 	if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) {
ptrace             36 tools/testing/selftests/breakpoints/step_after_suspend_test.c 	if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0) {
ptrace             78 tools/testing/selftests/breakpoints/step_after_suspend_test.c 	if (ptrace(PTRACE_SINGLESTEP, pid, NULL, NULL) < 0) {
ptrace            109 tools/testing/selftests/breakpoints/step_after_suspend_test.c 	if (ptrace(PTRACE_CONT, pid, NULL, NULL) < 0) {
ptrace            664 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_SEIZE, pid, NULL, NULL))
ptrace            667 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_INTERRUPT, pid, NULL, NULL))
ptrace            679 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo))
ptrace            682 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_DETACH, pid, NULL, NULL))
ptrace            784 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_SEIZE, pid, NULL, NULL))
ptrace            787 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_INTERRUPT, pid, NULL, NULL))
ptrace            805 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo))
ptrace            808 tools/testing/selftests/cgroup/test_freezer.c 	if (ptrace(PTRACE_DETACH, pid, NULL, NULL))
ptrace             39 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, &dbginfo);
ptrace             60 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, addr);
ptrace             83 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, &info);
ptrace             95 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PPC_PTRACE_DELHWDEBUG, child_pid, 0, watchpoint_handle);
ptrace            169 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ret = ptrace(PTRACE_TRACEME, 0, NULL, 0);
ptrace            237 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            249 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            260 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            275 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	i = ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, &dbginfo);
ptrace            291 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 	ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace            302 tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c 		ptrace(PTRACE_CONT, child_pid, NULL, 0);
ptrace             74 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 		if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
ptrace             92 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace             96 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            127 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
ptrace            130 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace            134 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            170 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
ptrace            173 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace            177 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            203 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c 	if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)
ptrace             64 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_ATTACH, child, NULL, NULL);
ptrace             81 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_DETACH, child, NULL, NULL);
ptrace             93 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_CONT, child, NULL, NULL);
ptrace            112 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, type, &iov);
ptrace            132 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, type, &iov);
ptrace            154 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov);
ptrace            162 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov);
ptrace            170 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov);
ptrace            202 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov);
ptrace            209 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov);
ptrace            216 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov);
ptrace            244 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov);
ptrace            252 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CPPR, &iov);
ptrace            260 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CDSCR, &iov);
ptrace            293 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov);
ptrace            300 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov);
ptrace            307 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CDSCR, &iov);
ptrace            327 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs);
ptrace            346 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs);
ptrace            355 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETFPREGS, child, NULL, regs);
ptrace            373 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov);
ptrace            397 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov);
ptrace            406 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CFPR, &iov);
ptrace            426 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
ptrace            451 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
ptrace            460 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGS, child, NULL, regs);
ptrace            483 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov);
ptrace            511 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov);
ptrace            520 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CGPR, &iov);
ptrace            533 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETVRREGS, child, 0, vmx);
ptrace            549 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVMX, &iov);
ptrace            563 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETVRREGS, child, 0, vmx);
ptrace            580 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVMX, &iov);
ptrace            593 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETVSRREGS, child, 0, vsx);
ptrace            609 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVSX, &iov);
ptrace            622 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETVSRREGS, child, 0, vsx);
ptrace            639 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVSX, &iov);
ptrace            663 tools/testing/selftests/powerpc/ptrace/ptrace.h 	ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_SPR, &iov);
ptrace           1386 tools/testing/selftests/seccomp/seccomp_bpf.c 		ret = ptrace(PTRACE_ATTACH, tracee, NULL, 0);
ptrace           1393 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SETOPTIONS, tracee, NULL, ptrace_syscall ?
ptrace           1400 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(ptrace_syscall ? PTRACE_SYSCALL : PTRACE_CONT,
ptrace           1423 tools/testing/selftests/seccomp/seccomp_bpf.c 		ret = ptrace(ptrace_syscall ? PTRACE_SYSCALL : PTRACE_CONT,
ptrace           1490 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETEVENTMSG, tracee, NULL, &msg);
ptrace           1501 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_POKEDATA, tracee, info->poke_addr, 0x1001);
ptrace           1641 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(0, ptrace(PTRACE_GETREGS, tracee, 0, &regs)) {
ptrace           1650 tools/testing/selftests/seccomp/seccomp_bpf.c 	EXPECT_EQ(0, ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &iov)) {
ptrace           1670 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETREGS, tracee, 0, &regs);
ptrace           1675 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &iov);
ptrace           1697 tools/testing/selftests/seccomp/seccomp_bpf.c 		ret = ptrace(PTRACE_SET_SYSCALL, tracee, NULL, syscall);
ptrace           1708 tools/testing/selftests/seccomp/seccomp_bpf.c 		ret = ptrace(PTRACE_SETREGSET, tracee, NT_ARM_SYSTEM_CALL,
ptrace           1728 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SETREGS, tracee, 0, &regs);
ptrace           1732 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SETREGSET, tracee, NT_PRSTATUS, &iov);
ptrace           1744 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETEVENTMSG, tracee, NULL, &msg);
ptrace           1791 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_GETEVENTMSG, tracee, NULL, &msg);
ptrace           2776 tools/testing/selftests/seccomp/seccomp_bpf.c 		EXPECT_EQ(0, ptrace(PTRACE_TRACEME));
ptrace           2821 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_SETOPTIONS, child_pid, NULL,
ptrace           2823 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
ptrace           2831 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETEVENTMSG, child_pid, NULL, &msg));
ptrace           2836 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &info));
ptrace           2846 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
ptrace           2850 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &info));
ptrace           2861 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
ptrace           2865 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
ptrace           2872 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_GETEVENTMSG, child_pid, NULL, &msg));
ptrace           2892 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
ptrace           3037 tools/testing/selftests/seccomp/seccomp_bpf.c 	ASSERT_EQ(0, ptrace(PTRACE_ATTACH, pid));
ptrace           3044 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SECCOMP_GET_METADATA, pid, sizeof(md), &md);
ptrace           3054 tools/testing/selftests/seccomp/seccomp_bpf.c 	ret = ptrace(PTRACE_SECCOMP_GET_METADATA, pid, sizeof(md), &md);
ptrace            458 tools/testing/selftests/x86/fsgsbase.c 		if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) != 0)
ptrace            472 tools/testing/selftests/x86/fsgsbase.c 		gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL);
ptrace            480 tools/testing/selftests/x86/fsgsbase.c 		if (ptrace(PTRACE_POKEUSER, child, base_offset, 0xFF) != 0)
ptrace            483 tools/testing/selftests/x86/fsgsbase.c 		gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL);
ptrace            484 tools/testing/selftests/x86/fsgsbase.c 		base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
ptrace            501 tools/testing/selftests/x86/fsgsbase.c 	ptrace(PTRACE_CONT, child, NULL, NULL);
ptrace             74 tools/testing/selftests/x86/mov_ss_trap.c 		if (ptrace(PTRACE_ATTACH, parent, NULL, NULL) != 0)
ptrace             80 tools/testing/selftests/x86/mov_ss_trap.c 		if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[0]), dr0) != 0)
ptrace             83 tools/testing/selftests/x86/mov_ss_trap.c 		if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[1]), dr1) != 0)
ptrace             86 tools/testing/selftests/x86/mov_ss_trap.c 		if (ptrace(PTRACE_POKEUSER, parent, (void *)offsetof(struct user, u_debugreg[7]), dr7) != 0)
ptrace             91 tools/testing/selftests/x86/mov_ss_trap.c 		if (ptrace(PTRACE_DETACH, parent, NULL, NULL) != 0)
ptrace           1259 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_ATTACH, child_pid, ignored, ignored);
ptrace           1285 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_PEEKDATA, child_pid, ptr, ignored);
ptrace           1295 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_PEEKDATA, child_pid, plain_ptr, ignored);
ptrace           1302 tools/testing/selftests/x86/protection_keys.c 	ret = ptrace(PTRACE_DETACH, child_pid, ignored, 0);
ptrace            183 tools/testing/selftests/x86/ptrace_syscall.c 		if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
ptrace            204 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace            208 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            232 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
ptrace            235 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace            239 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            264 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
ptrace            267 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
ptrace            271 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            283 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)
ptrace            303 tools/testing/selftests/x86/ptrace_syscall.c 		if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
ptrace            325 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
ptrace            331 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            349 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
ptrace            353 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            368 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
ptrace            372 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)
ptrace            385 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
ptrace            391 tools/testing/selftests/x86/ptrace_syscall.c 	if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
ptrace            350 tools/testing/selftests/x86/test_syscall_vdso.c 		if (ptrace(PTRACE_TRACEME, 0L, 0L, 0L) != 0)
ptrace            372 tools/testing/selftests/x86/test_syscall_vdso.c 		ptrace(PTRACE_SYSCALL, pid, 0L, 0L /*sig*/);