This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add --core-pattern option to eu-stack


On 11/26, Jan Kratochvil wrote:
>
> On Wed, 26 Nov 2014 21:08:22 +0100, Oleg Nesterov wrote:
> > Yes. I guess PTRACE_ATTACH should work but it is pointless, this
> > thread can't report an event and other ptrace requests won't work.
> >
> > In fact I think PTRACE_ATTACH should fail in this case...
>
> I have used PTRACE_SEIZE instead:
>
> ptrace(PTRACE_SEIZE, 13902, 0, 0)       = 0

Sorry for confusion.

I meant, it would be better if PTRACE_ATTACH/PTRACE_SEIZE failed in
this case. But it is too late to change this old behaviour.

Oleg.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]