[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4999C556.7010605@cs.helsinki.fi>
Date: Mon, 16 Feb 2009 21:58:14 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Johannes Weiner <hannes@...xchg.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [patch 0/8] kzfree()
Hi Andrew,
Andrew Morton wrote:
> On Mon, 16 Feb 2009 15:29:26 +0100 Johannes Weiner <hannes@...xchg.org> wrote:
>
>> This series introduces kzfree() and converts callsites which do
>> memset() + kfree() explicitely.
>
> I dunno, this looks like putting lipstick on a pig.
>
> What is the point in zeroing memory just before freeing it? afacit
> this is always done as a poor-man's poisoning operation.
I think they do it as security paranoia to make sure other callers don't
accidentally see parts of crypto keys, passwords, and such. So I don't
think we can just get rid of the memsets.
Pekka
--
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