]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/hwbp: Simplify the perf-hwbp code, fix documentation
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Mar 2018 01:39:07 +0000 (15:39 -1000)
committerBrian Maly <brian.maly@oracle.com>
Fri, 25 May 2018 17:16:02 +0000 (13:16 -0400)
commit95aa9a6face008e860f96515b40214b10f33ce0a
treea96059696e08eb3d581f4d9824ccd6adc39b0e01
parentc6d2a1f1ace5fa290fc606c6eee92a087f480e81
perf/hwbp: Simplify the perf-hwbp code, fix documentation

Orabug: 27947602
CVE: CVE-2018-1000199

Annoyingly, modify_user_hw_breakpoint() unnecessarily complicates the
modification of a breakpoint - simplify it and remove the pointless
local variables.

Also update the stale Docbook while at it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@vger.kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit f67b15037a7a50c57f72e69a6d59941ad90a0f0f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
kernel/events/hw_breakpoint.c