]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
objtool: Move kernel headers/code sync check to a script
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 6 Nov 2017 13:21:51 +0000 (07:21 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Sat, 6 Jan 2018 12:23:09 +0000 (13:23 +0100)
commit4e72ce95a057e744b8d580239e2d8afa51118d82
tree56e0a6c0913e9e1c9402105419016a64975e406c
parent3673cdbc4be1671fad71a4968a9f55357d9d356c
objtool: Move kernel headers/code sync check to a script

CVE-2017-5754

Replace the nasty diff checks in the objtool Makefile with a clean bash
script, and make the warnings more specific.

Heavily inspired by tools/perf/check-headers.sh.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/ab015f15ccd8c0c6008493c3c6ee3d495eaf2927.1509974346.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit a89ec413c623eb2870180bcad678046bf7bc8465)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
tools/objtool/Makefile
tools/objtool/sync-check.sh [new file with mode: 0755]