Displaying 2 results from an estimated 2 matches for "generate_random_uuid".
2012 Oct 29
5
Re: [PATCH 2/9] uuid: use random32_get_bytes()
...confusion, to file system corruption and data loss.
Fortunately, there is only one user of lib/uuid.c, and that''s the
btrfs file system.
Chris and the Btrfs folks --- my recommendation would be to ditch the
use of uuid_be_gen, "git rm lib/uuid.c" with extreme prejudice, and
use generate_random_uuid() which was coded over a decade ago in
drivers/char/random.c. Not only does this properly use the kernel
random number generator, but it also creates a UUID with the correct
format. (It''s not enough to set the UUID version to 4; you also need
to set the UUID variant to be DCE if you want...
2017 May 05
2
[PATCH v1] ACPI: Switch to use generic UUID API
On Thu, May 4, 2017 at 2:21 AM, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> acpi_evaluate_dsm() and friends take a pointer to a raw buffer of 16
> bytes. Instead we convert them to use uuid_le type. At the same time we
> convert current users.
>
> acpi_str_to_uuid() becomes useless after the conversion and it's safe to
> get rid of it.
>
> The