summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@osandov.com>2014-08-01 19:14:06 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-08-02 16:20:30 +0200
commit6bf755db4d5e7ccea61fb17727a183b9bd8945b1 (patch)
tree74ca99a04770e5ff8598bbf63e30a1d9025dc338 /net/bluetooth/smp.c
parentARM: idmap: add identity mapping usage note (diff)
downloadlinux-6bf755db4d5e7ccea61fb17727a183b9bd8945b1.tar.xz
linux-6bf755db4d5e7ccea61fb17727a183b9bd8945b1.zip
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 <will.deacon@arm.com> Signed-off-by: Omar Sandoval <osandov@osandov.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions