[libcxx-commits] [PATCH] D122628: [libcxx] random_device, use arc4random() on FreeBSD, NetBSD and DragonFlyBSD
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 8 14:08:38 PDT 2022
ldionne added a subscriber: libc++ vendors.
ldionne added a comment.
I'll note that this is a behavior change though. When I made the change on Apple, I added this release note:
On Apple platforms, std::random_device is now implemented on top of arc4random() instead of reading from /dev/urandom. Any implementation-defined token used when constructing a std::random_device will now be ignored instead of interpreted as a file to read entropy from.
Please add a similar release note here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122628/new/
https://reviews.llvm.org/D122628
More information about the libcxx-commits
mailing list