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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140128093701.GC2221@dhcp22.suse.cz>
Date:	Tue, 28 Jan 2014 10:37:01 +0100
From:	Michal Hocko <mhocko@...e.cz>
To:	Borislav Petkov <bp@...en8.de>
Cc:	"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Jiri Kosina <jkosina@...e.cz>, Michael Matz <matz@...e.de>,
	lkml <linux-kernel@...r.kernel.org>,
	Ralf Baechle <ralf@...ux-mips.org>
Subject: Re: [RFC] x86: Disable traditional FPU instructions too

[CCing Ralf for MIPS.]

On Mon 27-01-14 17:45:44, Borislav Petkov wrote:
> On Mon, Jan 27, 2014 at 08:41:09AM -0800, H. Peter Anvin wrote:
> > I don't think it'd hurt... although I think the above pretty much
> > requires that the code contain actual floating-point types to ever be
> > generated.
> 
> Yes, that is supposed to catch usage of the 'E' floating constant, for
> example, in definitions. It is a build-time assertion, if you want. :)

And git grep says that mips abuses this notation:
arch/mips/include/asm/kvm_host.h:#define MS_TO_NS(x) (x * 1E6L)

I do not have cross-compiler set up to check whether this is a real
issue because include/media/rc-core.h defines the same macro correctly
so the real code might end up using the right variant.
-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ