Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcd97c3f authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: avoid erroneous error return for PTRACE_POKEUSR.

parent c6673cb5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
		if (addr < 0 || addr >= PTREGS_SIZE)
			break;
		putreg(child, addr, data);   /* Write register */
		ret = 0;
		break;

	case PTRACE_GETREGS:  /* Get all registers from the child. */