]> granicus.if.org Git - strace/commit
ptrace: do not print arguments of PTRACE_TRACEME request
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 12 May 2016 15:03:58 +0000 (15:03 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 12 May 2016 15:03:58 +0000 (15:03 +0000)
commit89ca4aa1403daf93284325596e2e4a8fc3bc07ff
tree7610dd922dc335684b815345561cfa73103c6ac1
parent73a8e97d56cd2a51eeeca21cd84c4aa27f7b5bf6
ptrace: do not print arguments of PTRACE_TRACEME request

As kernel ignores arguments of PTRACE_TRACEME request,
we do not print them either.

* process.c (SYS_FUNC(ptrace)): If request is PTRACE_TRACEME,
return early with RVAL_DECODED.
process.c