Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-25 Thread Catalin Marinas
On Sat, Apr 23, 2016 at 12:40:13AM +0300, Yury Norov wrote: > On Fri, Apr 22, 2016 at 06:10:09PM +0100, Catalin Marinas wrote: > > On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > > > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > > > detection of the task ty

Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-22 Thread Yury Norov
On Fri, Apr 22, 2016 at 06:10:09PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > > detection of the task type. > > The reason for this patch isn't clear to me. What's wrong w

Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-22 Thread Catalin Marinas
On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > detection of the task type. The reason for this patch isn't clear to me. What's wrong with the run-time detection? It's not some performance critical code. -- C

[PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-05 Thread Yury Norov
Here new aarch32 ptrace syscall handler is introsuced to avoid run-time detection of the task type. Signed-off-by: Yury Norov --- arch/arm64/include/asm/unistd32.h | 2 +- arch/arm64/kernel/ptrace.c| 50 ++- arch/arm64/kernel/sys32.c | 1 + i