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] [thread-next>] [day] [month] [year] [list]
Message-ID: <878qwkg5sk.ffs@tglx>
Date: Sun, 25 Aug 2024 14:12:27 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Wentao Zhang <wentaoz5@...inois.edu>, linux-kbuild@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-efi@...r.kernel.org,
 linux-um@...ts.infradead.org, linux-arch@...r.kernel.org,
 linux-trace-kernel@...r.kernel.org, llvm@...ts.linux.dev, x86@...nel.org
Cc: wentaoz5@...inois.edu, marinov@...inois.edu, tyxu@...inois.edu,
 jinghao7@...inois.edu, tingxur@...inois.edu,
 steven.h.vanderleest@...ing.com, chuck.wolber@...ing.com,
 matthew.l.weber3@...ing.com, Matt.Kelly2@...ing.com,
 andrew.j.oppelt@...ing.com, samuel.sarkisian@...ing.com, morbo@...gle.com,
 samitolvanen@...gle.com, masahiroy@...nel.org, mingo@...hat.com,
 bp@...en8.de, dave.hansen@...ux.intel.com, luto@...nel.org,
 ardb@...nel.org, richard@....at, anton.ivanov@...bridgegreys.com,
 johannes@...solutions.net, arnd@...db.de, rostedt@...dmis.org,
 mhiramat@...nel.org, oberpar@...ux.ibm.com, akpm@...ux-foundation.org,
 paulmck@...nel.org, bhelgaas@...gle.com, kees@...nel.org,
 jpoimboe@...nel.org, peterz@...radead.org, kent.overstreet@...ux.dev,
 nathan@...nel.org, hpa@...or.com, mathieu.desnoyers@...icios.com,
 ndesaulniers@...gle.com, justinstitt@...gle.com, maskray@...gle.com,
 dvyukov@...gle.com
Subject: Re: [RFC PATCH 2/3] kbuild, llvm-cov: disable instrumentation in
 odd or sensitive code

On Sat, Aug 24 2024 at 18:06, Wentao Zhang wrote:

The subject line is really not useful. What's 'odd' code?

> Disable instrumentation in the same areas that were disabled for
> kernel/gcov/

> Signed-off-by: Wentao Zhang <wentaoz5@...inois.edu>
> Signed-off-by: Chuck Wolber <chuck.wolber@...ing.com>

This Signed-off-by chain is broken. See Documentation/process/

> diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
> index 9cc0ff6e9067..2cc2c55af305 100644
> --- a/arch/x86/boot/Makefile
> +++ b/arch/x86/boot/Makefile
> @@ -57,6 +57,7 @@ KBUILD_AFLAGS	:= $(KBUILD_CFLAGS) -D__ASSEMBLY__
>  KBUILD_CFLAGS	+= $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
>  KBUILD_CFLAGS	+= -fno-asynchronous-unwind-tables
>  KBUILD_CFLAGS	+= $(CONFIG_CC_IMPLICIT_FALLTHROUGH)
> +LLVM_COV_PROFILE := n

See 7f7f6f7ad654 ("Makefile: remove redundant tool coverage variables")

Also a 'git grep GCOV_PROFILE' shows way more places. Can't LLVM_COV
just use the already existing GCOV_PROFILE annotations or is LLVM_COV
suitable for all the files which have been excluded for GCOV?

GCOV has GCOV_PROFILE_obj.o, GCOV_PROFILE and CONFIG_GCOV_PROFILE_ALL
for a reason, no?

Thanks,

        tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ