[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181107210251.542cf8a1@akathisia>
Date: Wed, 7 Nov 2018 21:02:51 +0100
From: Elvira Khabirova <lineprinter@...linux.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andy Lutomirski <luto@...capital.net>, rostedt@...dmis.org,
mingo@...hat.com, linux-kernel@...r.kernel.org, ldv@...linux.org,
esyr@...hat.com, luto@...nel.org, strace-devel@...ts.strace.io
Subject: Re: [RFC PATCH] ptrace: add PTRACE_GET_SYSCALL_INFO request
On Wed, 7 Nov 2018 17:44:44 +0100
Oleg Nesterov <oleg@...hat.com> wrote:
> To me PT_IN_SYSCALL_STOP makes no real sense, but I won't argue.
>
> At least I'd ask to not abuse task->ptrace. ptrace_report_syscall() can clear
> ->ptrace_message on exit if we really want PTRACE_GET_SYSCALL_INFO to fail after
> that.
I really would not like to rely on ->ptrace_message remaining empty;
this looks too fragile.
Powered by blists - more mailing lists