[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100112080600.392c14cd@infradead.org>
Date: Tue, 12 Jan 2010 08:06:00 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: Dongdong Deng <libfetion@...il.com>
Cc: linux-kernel@...r.kernel.org, ananth@...ibm.com,
anil.s.keshavamurthy@...el.com, davem@...emloft.net,
mhiramat@...hat.com, jkenisto@...ibm.com
Subject: Re: Did we really need to clear the IF flag at prepare_singlestep()
of x86 kprobes?
On Tue, 12 Jan 2010 19:09:35 +0800
Dongdong Deng <libfetion@...il.com> wrote:
> Hi Kprobe experts,
>
> I have a doubt about the handling "X86_EFLAGS_IF" at
> prepare_singlestep(), Could you give me some suggestions?
iirc it was a security thing; we used to have some exploits
due to the linux-abi entry points which caused a mess, and this
was put there as defensive programming.
I could totally misremember this as well of course.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists