From: Omar Sandoval Date: Fri, 1 Aug 2014 17:14:06 +0000 (+0100) Subject: ARM: 8124/1: don't enter kgdb when userspace executes a kgdb break instruction X-Git-Tag: omap-for-v3.17/fixes-against-rc2~199^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf755db4d5e7ccea61fb17727a183b9bd8945b1;p=pandora-kernel.git ARM: 8124/1: don't enter kgdb when userspace executes a kgdb break instruction The kgdb breakpoint hooks (kgdb_brk_fn and kgdb_compiled_brk_fn) should only be entered when a kgdb break instruction is executed from the kernel. Otherwise, if kgdb is enabled, a userspace program can cause the kernel to drop into the debugger by executing either KGDB_BREAKINST or KGDB_COMPILED_BREAK. Acked-by: Will Deacon Signed-off-by: Omar Sandoval Signed-off-by: Russell King --- Reading git-diff-tree failed