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: <20180104120021.lilczus6qv7e4vcw@salmiak>
Date:   Thu, 4 Jan 2018 12:00:42 +0000
From:   Mark Rutland <mark.rutland@....com>
To:     linux-kernel@...r.kernel.org
Cc:     linux-arch@...r.kernel.org, Will Deacon <will.deacon@....com>
Subject: Re: [RFC PATCH 1/4] asm-generic/barrier: add generic nospec helpers

On Wed, Jan 03, 2018 at 10:38:24PM +0000, Mark Rutland wrote:
> +#define nospec_array_load(arr, idx, sz)					\
> +({									\
> +	typeof(*(arr)) *__arr = arr;					\
> +	typeof(idx) __idx = idx;					\
> +	typeof(sz) __sz = __sz;						\

Whoops. The second __sz should be sz here.

Mark.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ