klutzy fdf5195f58 std::rand::OsRng: Use getrandom syscall on Linux
`getrandom(2)` system call [1] has been added on Linux 3.17.
This patch makes `OsRng` use `getrandom` if available, and use
traditional `/dev/urandom` fallback if not.

[1]:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895
2014-11-06 22:01:31 +09:00
..
2014-11-04 00:20:37 +11:00
2014-11-01 19:56:07 -05:00
2014-11-05 12:55:58 +02:00
2014-11-02 15:31:52 -08:00