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>] [day] [month] [year] [list]
Date:   Sat, 9 Feb 2019 16:00:47 +0300
From:   Alexey Dobriyan <adobriyan@...il.com>
To:     linux-kernel@...r.kernel.org
Cc:     yamada.masahiro@...ionext.com, ndesaulniers@...gle.com,
        luc.vanoostenryck@...il.com, keescook@...omium.org,
        linux@...musvillemoes.dk
Subject: Re: [to-be-updated] build_bugh-add-wrapper-for-_static_assert.patch
 removed from -mm tree

On Fri, Feb 08, 2019 at 01:58:24PM -0800, akpm@...ux-foundation.org wrote:
> --- a/include/linux/build_bug.h~build_bugh-add-wrapper-for-_static_assert
> +++ a/include/linux/build_bug.h

> +#define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
> +#define __static_assert(expr, msg, ...) _Static_assert(expr, "" msg "")

I suggest adding it to assert.h like userspace does:

	#include <assert.h>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ