]> granicus.if.org Git - strace/commit
ptrace: fix printing addr argument of PTRACE_GETSIGMASK et al requests
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 12 May 2016 15:38:35 +0000 (15:38 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 12 May 2016 15:38:35 +0000 (15:38 +0000)
commit3a5cd34e34b662e4c2097e307d504712ddc05f73
tree45868d8c098044acb799c015d58b6726ea9ff542
parent5c720b0b9b90a6cf650c52b0d9d8204b70f0f820
ptrace: fix printing addr argument of PTRACE_GETSIGMASK et al requests

For PTRACE_GETSIGMASK and PTRACE_SETSIGMASK requests, addr argument
contains the size of the buffer pointed to by data argument.
For PTRACE_SECCOMP_GET_FILTER request, addr argument contains
an offset counter.

* process.c (SYS_FUNC(ptrace)): Print addr argument of
PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and PTRACE_SECCOMP_GET_FILTER
requests using %lu format.
process.c