From: Andrew Morton <akpm@linux-foundation.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>, Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 1/1] sysctl: introduce uuid_le and uuid_be
Date: Tue, 24 May 2016 13:15:08 -0700 [thread overview]
Message-ID: <20160524131508.7277546c9620a0ad080f1e19@linux-foundation.org> (raw)
In-Reply-To: <1464110847-41097-1-git-send-email-andriy.shevchenko@linux.intel.com>
On Tue, 24 May 2016 20:27:27 +0300 Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> By default the sysctl interface returns random UUID in big endian format.
> Sometimes it's not suitable, e.g. using generated UUID for EFI variable name.
> Provide uuid_le and uuid_be to comprehence that interface.
>
> ...
>
> drivers/char/random.c | 44 +++++++++++++++++++++++++++++++++++++++++
> include/uapi/linux/sysctl.h | 4 +++-
> kernel/sysctl_binary.c | 48 ++++++++++++++++++++++++++++++++++++++++++++
Why does the kernel need to do this? If userspace wants a random uuid
then it can grab a random number and cook up the UUID itself.
next prev parent reply other threads:[~2016-05-24 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 17:27 Andy Shevchenko
2016-05-24 20:15 ` Andrew Morton [this message]
2016-05-24 20:25 ` Andy Shevchenko
2016-05-24 22:56 ` Theodore Ts'o
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=20160524131508.7277546c9620a0ad080f1e19@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®