HomePhabricator

[libcxx] Support getentropy as a source of randomness for std::random_device

Description

[libcxx] Support getentropy as a source of randomness for std::random_device

Use this source use on Fuchsia where this is the oficially way
to obtain randomness. This could be also used on other platforms
that already support getentropy such as *BSD or Linux.

Differential Revision: https://reviews.llvm.org/D40319

Details

Committed
phosekNov 30 2017, 10:34 PM
Differential Revision
D40319: [libcxx] Support getentropy as a source of randomness for std::random_device
Branches
Unknown
Tags
Unknown