[all-commits] [llvm/llvm-project] f3b979: [libc++] Use ioctl when available to get random_de...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Thu Jan 21 09:01:37 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3b979b65e9ff81b656d26d9f2a1c731301fd445
https://github.com/llvm/llvm-project/commit/f3b979b65e9ff81b656d26d9f2a1c731301fd445
Author: Marek Kurdej <marek.kurdej at gmail.com>
Date: 2021-01-21 (Thu, 21 Jan 2021)
Changed paths:
M libcxx/src/random.cpp
M libcxx/test/std/numerics/rand/rand.device/entropy.pass.cpp
Log Message:
-----------
[libc++] Use ioctl when available to get random_device entropy.
Implemented the idea from D94571 to improve entropy on Linux.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D94953
More information about the All-commits
mailing list