]> git.proxmox.com Git - pve-kernel.git/blob - patches/kernel/0235-objtool-use-sh-to-invoke-sync-check.sh-in-the-Makefi.patch
f3430254e14cab78eca7a87203200e5d010909a4
[pve-kernel.git] / patches / kernel / 0235-objtool-use-sh-to-invoke-sync-check.sh-in-the-Makefi.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
3 Date: Sat, 6 Jan 2018 17:50:34 -0200
4 Subject: [PATCH] objtool: use sh to invoke sync-check.sh in the Makefile
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 CVE-2017-5754
10
11 This avoids build failures when building debian packages.
12
13 Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
14 (cherry picked from commit 6abf30ed000f0da24985295c206cc6f08a311301)
15 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
16 ---
17 tools/objtool/Makefile | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
21 index 5c71bae01064..fe022f68638d 100644
22 --- a/tools/objtool/Makefile
23 +++ b/tools/objtool/Makefile
24 @@ -44,7 +44,7 @@ $(OBJTOOL_IN): fixdep FORCE
25 @$(MAKE) $(build)=objtool
26
27 $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN)
28 - @./sync-check.sh
29 + @sh ./sync-check.sh
30 $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@
31
32
33 --
34 2.14.2
35