[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181125061726.jtalb5t4tgigzzue@gmail.com>
Date: Sat, 24 Nov 2018 20:17:26 -1000
From: Joey Pabalinas <joeypabalinas@...il.com>
To: "Dmitry V. Levin" <ldv@...linux.org>
Cc: Joey Pabalinas <joeypabalinas@...il.com>,
Elvira Khabirova <lineprinter@...linux.org>,
Oleg Nesterov <oleg@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
Andy Lutomirski <luto@...nel.org>,
Eugene Syromyatnikov <esyr@...hat.com>,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org,
strace-devel@...ts.strace.io
Subject: Re: Re: [PATCH RESEND v3 1/3] ptrace: pass type of a syscall-stop in
ptrace_message
On Sun, Nov 25, 2018 at 05:10:59AM +0300, Dmitry V. Levin wrote:
> Given that without this patch the value returned by PTRACE_GETEVENTMSG
> during syscall stop is undefined, we need two different ptrace_message
> values that cannot be set by other ptrace events to enable reliable
> identification of syscall-enter-stop and syscall-exit-stop in userspace:
> if we make PTRACE_GETEVENTMSG return 0 or any other value routinely set by
> other ptrace events, it would be hard for userspace to find out whether
> the kernel implements new semantics or not.
Ah, I see, I agree that definitely makes sense.
--
Cheers,
Joey Pabalinas
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists