Re: [PATCH] Subject: kprobes-x86: correct post-eip value in post_hander()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Masami Hiramatsu
Date: Monday, March 17, 2008 - 3:17 pm

Ananth N Mavinakayanahalli wrote:

Ananth, I think we can not prevent it even if resume_execution() is called
after post_handler, because resume_execution() refers reg->ip...:-(

And Yakov, I think you might need to make a patchset against all arch which
support kprobes, because this patch modifies expected behavior of kprobes
only on x86.

IMHO, Yakov's suggestion will be also good for resume_execution(), because
it only has to clean up after expectable-single-stepping. (user code is
unexpectable... we can not control all of that)


Thanks,

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Ananth N Mavinakayan ..., (Sun Mar 16, 10:19 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Ananth N Mavinakayan ..., (Mon Mar 17, 5:39 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Masami Hiramatsu, (Mon Mar 17, 3:17 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Ananth N Mavinakayan ..., (Mon Mar 17, 9:26 pm)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Ananth N Mavinakayan ..., (Fri Mar 21, 4:31 am)
Re: [PATCH] Subject: kprobes-x86: correct post-eip value i ..., Ananth N Mavinakayan ..., (Fri Mar 21, 7:51 am)