From: Christoph Hellwig <hch@infradead.org>
To: Sami Kerola <kerolasa@iki.fi>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] libuuid: use explicit_bzero() in uuid_clear() when possible
Date: Wed, 18 Oct 2017 00:15:31 -0700 [thread overview]
Message-ID: <20171018071531.GA2929@infradead.org> (raw)
In-Reply-To: <20171016213734.23237-1-kerolasa@iki.fi>
On Mon, Oct 16, 2017 at 10:37:34PM +0100, Sami Kerola wrote:
> This ensures value is blanked. It is possible compiler optimization removed
> earlier uuid_clear() calls as unnecessary if value was not used after clear.
Can you explain the logic behind this a bit more? If no one uses the
uuid later it doesn't matter if we cleared it or not.
next prev parent reply other threads:[~2017-10-18 7:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 21:37 [PATCH] libuuid: use explicit_bzero() in uuid_clear() when possible Sami Kerola
2017-10-18 7:15 ` Christoph Hellwig [this message]
2017-10-23 19:38 ` Sami Kerola
2017-10-24 9:30 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171018071531.GA2929@infradead.org \
--to=hch@infradead.org \
--cc=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.