[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141201113815.GD5048@mwanda>
Date: Mon, 1 Dec 2014 14:38:15 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Daniel Borkmann <dborkman@...hat.com>
Cc: tytso@....edu, zatimend@...mail.co.uk,
linux-kernel@...r.kernel.org,
Hannes Frederic Sowa <hannes@...essinduktion.org>,
Alexey Dobriyan <adobriyan@...il.com>,
Kees Cook <keescook@...omium.org>,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH] random: add and use memzero_explicit() for clearing data
On Mon, Dec 01, 2014 at 02:29:57PM +0300, Dan Carpenter wrote:
> On Mon, Dec 01, 2014 at 12:04:57PM +0100, Daniel Borkmann wrote:
> > Well, BSD has helpers such as bzero_explicit() for such cases to work
> > around this, which memzero_explicit() similarly does; see also [1].
> >
> > [1] https://gcc.gnu.org/ml/gcc-help/2014-10/msg00059.html
>
> We should make memset() a define and call a custom function internally.
>
Or we could specify -fno-builtin-memset like the GCC people suggest.
regards,
dan carpenter
--
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