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] [day] [month] [year] [list]
Date:	Sat, 10 Oct 2015 14:34:31 -0400
From:	Valdis.Kletnieks@...edu
To:	Rasmus Villemoes <linux@...musvillemoes.dk>
Cc:	Christoph Lameter <cl@...ux.com>, linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: slab.h debugging tags....

On Fri, 09 Oct 2015 21:40:33 +0200, Rasmus Villemoes said:

> Does this fix it for you?
>
> Subject: [PATCH] slab.h: hide assume_aligned attribute from sparse
>
> sparse apparently pretends to be gcc >= 4.9, yet isn't prepared to

Much better - it threw messages on a few files, it took me a moment to figure
out what happened.

  CHECK   init/do_mounts_initrd.c
init/do_mounts_initrd.c:8:2: warning: "Sparse checking disabled for this file"
include/linux/slab.h:307:43: error: attribute '__assume_aligned__': unknown attribute
include/linux/slab.h:308:58: error: attribute '__assume_aligned__': unknown attribute
include/linux/slab.h:337:73: error: attribute '__assume_aligned__': unknown attribute
include/linux/slab.h:375:74: error: attribute '__assume_aligned__': unknown attribute
include/linux/slab.h:378:80: error: attribute '__assume_aligned__': unknown attribute

but there's only like a few that disable sparse. Everything else behaves now.

Feel free to stick this on it:

Tested-By: Valdis Kletnieks <valdis.kletnieks@...edu>

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ