lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-e847f6aaf68f6156a5e9b26afe1a7316b9ab697e@git.kernel.org>
Date:   Sun, 25 Mar 2018 15:27:36 -0700
From:   tip-bot for Sven Wegener <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     sven.wegener@...aler.net, torvalds@...ux-foundation.org,
        linux-kernel@...r.kernel.org, keescook@...omium.org,
        mka@...omium.org, mingo@...nel.org, tglx@...utronix.de,
        vgoyal@...hat.com, peterz@...radead.org, sam@...nborg.org,
        hpa@...or.com
Subject: [tip:x86/urgent] x86/purgatory: Avoid creating stray .<pid>.d
 files, remove -MD from KBUILD_CFLAGS

Commit-ID:  e847f6aaf68f6156a5e9b26afe1a7316b9ab697e
Gitweb:     https://git.kernel.org/tip/e847f6aaf68f6156a5e9b26afe1a7316b9ab697e
Author:     Sven Wegener <sven.wegener@...aler.net>
AuthorDate: Sat, 24 Mar 2018 22:21:13 +0100
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Sun, 25 Mar 2018 11:04:02 +0200

x86/purgatory: Avoid creating stray .<pid>.d files, remove -MD from KBUILD_CFLAGS

The kernel build system already takes care of generating the dependency
files. Having the additional -MD in KBUILD_CFLAGS leads to stray
.<pid>.d files in the build directory when we call the cc-option macro.

Signed-off-by: Sven Wegener <sven.wegener@...aler.net>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Kees Cook <keescook@...omium.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Matthias Kaehlcke <mka@...omium.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Sam Ravnborg <sam@...nborg.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Vivek Goyal <vgoyal@...hat.com>
Link: http://lkml.kernel.org/r/alpine.LNX.2.21.1803242219380.30139@titan.int.lan.stealer.net
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 arch/x86/purgatory/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/purgatory/Makefile b/arch/x86/purgatory/Makefile
index 2f15a2ac4209..d70c15de417b 100644
--- a/arch/x86/purgatory/Makefile
+++ b/arch/x86/purgatory/Makefile
@@ -16,7 +16,7 @@ KCOV_INSTRUMENT := n
 # in turn leaves some undefined symbols like __fentry__ in purgatory and not
 # sure how to relocate those. Like kexec-tools, use custom flags.
 
-KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large
+KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -Os -mcmodel=large
 KBUILD_CFLAGS += -m$(BITS)
 KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ