From: Dmitry V. Levin Date: Thu, 12 May 2016 15:53:28 +0000 (+0000) Subject: ptrace: print data argument of PTRACE_SEIZE et al requests as flags X-Git-Tag: v4.12~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c8e3302eab9745a9e1c76b2a323bd013c569e44;p=strace ptrace: print data argument of PTRACE_SEIZE et al requests as flags * process.c (SYS_FUNC(ptrace)): Print data argument of PTRACE_SEIZE and PTRACE_OLDSETOPTIONS as PTRACE_O_* flags. --- diff --git a/process.c b/process.c index b61d3546..5133865b 100644 --- a/process.c +++ b/process.c @@ -183,7 +183,11 @@ SYS_FUNC(ptrace) #endif printsignal(data); break; + case PTRACE_SEIZE: case PTRACE_SETOPTIONS: +#ifdef PTRACE_OLDSETOPTIONS + case PTRACE_OLDSETOPTIONS: +#endif printflags(ptrace_setoptions_flags, data, "PTRACE_O_???"); break; case PTRACE_SETSIGINFO: