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: <b6fcc0a1003010133w45515b17g365d42afd6407eb8@mail.gmail.com>
Date:	Mon, 1 Mar 2010 11:33:40 +0200
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Mikael Pettersson <mikpe@...uu.se>
Cc:	Arjan van de Ven <arjan@...radead.org>,
	Roel Kluin <roel.kluin@...il.com>,
	"David S. Miller" <davem@...emloft.net>, penberg@...helsinki.fi,
	Brian Gerst <brgerst@...il.com>, andi@...stfloor.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	linux-crypto@...r.kernel.org, Herbert@...dor.apana.org.au
Subject: Re: [PATCH v1] compiler: prevent dead store elimination

On Mon, Mar 1, 2010 at 11:32 AM, Mikael Pettersson <mikpe@...uu.se> wrote:
> Arjan van de Ven writes:
>  > On Sat, 27 Feb 2010 21:47:42 +0100
>  > Roel Kluin <roel.kluin@...il.com> wrote:
>  > > +void secure_bzero(void *p, size_t n)
>  > > +{
>  > > +  memset(p, 0, n);
>  > > +  ARRAY_PREVENT_DSE(p, n);
>  > > +}
>  > > +EXPORT_SYMBOL(secure_bzero);
>  >
>  >
>  > please don't introduce bzero again to the kernel;
>  >
>  > make it secure_memset() please.

What's so secure in this function? :^)
--
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