Re: [PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-14 Thread Kees Cook
On Mon, Aug 14, 2017 at 2:41 AM, James Hogan wrote: > On Fri, Aug 11, 2017 at 03:23:34PM -0700, Kees Cook wrote: >> On Fri, Aug 11, 2017 at 1:56 PM, James Hogan wrote: >> > Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be >> > cancelled independently to the value of the v0

Re: [PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-14 Thread James Hogan
On Fri, Aug 11, 2017 at 03:23:34PM -0700, Kees Cook wrote: > On Fri, Aug 11, 2017 at 1:56 PM, James Hogan wrote: > > Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be > > cancelled independently to the value of the v0 system call number > > register. > > > > This is needed f

Re: [PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-11 Thread Kees Cook
On Fri, Aug 11, 2017 at 1:56 PM, James Hogan wrote: > Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be > cancelled independently to the value of the v0 system call number > register. > > This is needed for SECCOMP_RET_TRACE when the tracer wants to cancel the > system call,

[PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-11 Thread James Hogan
Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be cancelled independently to the value of the v0 system call number register. This is needed for SECCOMP_RET_TRACE when the tracer wants to cancel the system call, since it has to set both the system call number to -1 and the c