x86_64 ptrace32 needs PTRACE_OLDSETOPTIONS
PATCH 1/1 x86_64 ptrace32 needs PTRACE_OLDSETOPTIONS
x86_64 ptrace32 needs to support PTRACE_OLDSETOPTIONS. This patch just converts the PTRACE_OLDSETOPTIONS request to PTRACE_SETOPTIONS and falls through to the sys_ptrace call.
Signed-off-by Jeff Dike <[email protected]>
--
arch/x86_64/ia32/ptrace32.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86_64/ia32/ptrace32.c +2 -0
@@ -239,6 +239,8 @@ asmlinkage long sys32_ptrace(long reques__u32 val;switch (request) { +case PTRACE_OLDSETOPTIONS : + request =PTRACE_SETOPTIONS ;case PTRACE_TRACEME :case PTRACE_ATTACH :case PTRACE_KILL :
Quoted 3 lines · Jeff Dike
x86_64ptrace32 needs to supportPTRACE_OLDSETOPTIONS. This patch just converts thePTRACE_OLDSETOPTIONSrequest toPTRACE_SETOPTIONSand falls through to thesys_ptracecall.
Hmm, why do we have this at all if it's the same as plain SETOPTIONS ?
-Andi