summaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-07-31 11:36:08 +0100
committerWill Deacon <will.deacon@arm.com>2014-07-31 11:36:08 +0100
commitc878e0cff5c5e56b216951cbe75f7a3dd500a736 (patch)
tree234fca64e4707b18b7c1bfe354348e9a096badbf /lib/percpu_counter.c
parent3666f88010d71e752ad677ec64edf148366afb7a (diff)
downloadlinux-stable-c878e0cff5c5e56b216951cbe75f7a3dd500a736.tar.gz
linux-stable-c878e0cff5c5e56b216951cbe75f7a3dd500a736.tar.bz2
linux-stable-c878e0cff5c5e56b216951cbe75f7a3dd500a736.zip
arm64: don't call break hooks for BRK exceptions from EL0
Our break hooks are used to handle brk exceptions from kgdb (and potentially kprobes if that code ever resurfaces), so don't bother calling them if the BRK exception comes from userspace. This prevents userspace from trapping to a kdb shell on systems where kgdb is enabled and active. Cc: <stable@vger.kernel.org> Reported-by: Omar Sandoval <osandov@osandov.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions