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: <20160506101048.GA7325@gmail.com>
Date:	Fri, 6 May 2016 12:10:48 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Borislav Petkov <bp@...en8.de>
Cc:	Kees Cook <keescook@...omium.org>, torvalds@...ux-foundation.org,
	hpa@...or.com, dyoung@...hat.com, tglx@...utronix.de,
	luto@...nel.org, peterz@...radead.org, dvlasenk@...hat.com,
	linux-kernel@...r.kernel.org, brgerst@...il.com,
	luto@...capital.net, akpm@...ux-foundation.org, bhe@...hat.com,
	yinghai@...nel.org, vgoyal@...hat.com,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/boot] x86/boot: Clean up pointer casting


* Borislav Petkov <bp@...en8.de> wrote:

> This can be simplified even further:
> 
> ---
> From: Borislav Petkov <bp@...e.de>
> Date: Fri, 6 May 2016 10:43:21 +0200
> Subject: [PATCH] x86/boot: Simplify pointer casting in
>  choose_random_location()
> 
> Pass them down as unsigned long directly and get rid of more casting and
> assignments.
> 
> Signed-off-by: Borislav Petkov <bp@...e.de>
> Cc: Kees Cook <keescook@...omium.org>

>  arch/x86/boot/compressed/misc.h  |  8 ++++----
>  3 files changed, 12 insertions(+), 16 deletions(-)

Great, thanks!

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ