ptrace: fix ptrace defect cause by a merge fail

this bug was introduced with I9493f28c30356a10eccb320e0a2d1a141388af9a

Change-Id: Ib4e9866eb56f4370ca8d33761cf0cd4f795db5be
Signed-off-by: M1cha <sigmaepsilon92@gmail.com>
This commit is contained in:
M1cha 2015-06-01 11:48:39 +02:00 committed by Dan Pasanen
parent 253279d068
commit ffea3136e8
1 changed files with 0 additions and 7 deletions

View File

@ -935,13 +935,6 @@ asmlinkage int syscall_trace(int why, struct pt_regs *regs, int scno)
ip = regs->ARM_ip;
regs->ARM_ip = why;
/*
* IP is used to denote syscall entry/exit:
* IP = 0 -> entry, =1 -> exit
*/
ip = regs->ARM_ip;
regs->ARM_ip = why;
/* the 0x80 provides a way for the tracing parent to distinguish
between a syscall stop and SIGTRAP delivery */
ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD)