]> 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>
Mon, 30 Apr 2018 21:46:09 +0000 (17:46 -0400)
commit2ff296f2eb2475d4c3f206e145c4b2132d86bc2c
treee515d4b7abef55245ba31b9c436a7aaed6dd5438
parent17279b7c9f7efa66eeea4dac4659b1b82a000294
perf/hwbp: Simplify the perf-hwbp code, fix documentation

Orabug: 27947602
CVE: CVE-2018-100199

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