summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@linux.alibaba.com>2020-05-29 23:27:30 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:15:20 +0200
commit97417cb9ad4ed052d7a4c5c0d75db1ff1b0981fb (patch)
tree7c6acb233789431d272714c5ad438215ba7a52b0 /arch/x86/platform
parentx86/hw_breakpoint: Add within_area() to check data breakpoints (diff)
downloadlinux-97417cb9ad4ed052d7a4c5c0d75db1ff1b0981fb.tar.xz
linux-97417cb9ad4ed052d7a4c5c0d75db1ff1b0981fb.zip
x86/hw_breakpoint: Prevent data breakpoints on direct GDT
A data breakpoint on the GDT can be fatal and must be avoided. The GDT in the CPU entry area is already protected, but not the direct GDT. Add the necessary protection. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200526014221.2119-3-laijs@linux.alibaba.com Link: https://lkml.kernel.org/r/20200529213320.840953950@infradead.org
Diffstat (limited to 'arch/x86/platform')
0 files changed, 0 insertions, 0 deletions