zig/std/os
Ben Noordhuis 73ee434c8c Use /dev/urandom and sysctl(RANDOM_UUID) on Linux.
Add fallback paths for when the getrandom(2) system call is not
available.  Try /dev/urandom first and sysctl(RANDOM_UUID) second.

The sysctl issues a warning in the system logs with some kernels but
that seems like an acceptable tradeoff for the fallback of a fallback.
2018-02-04 18:58:36 +01:00
..
windows syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
child_process.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
darwin_errno.zig all behavior tests passing for macos 2017-08-27 05:15:24 -04:00
darwin.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
get_user_id.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
index.zig Use /dev/urandom and sysctl(RANDOM_UUID) on Linux. 2018-02-04 18:58:36 +01:00
linux_errno.zig all behavior tests passing for macos 2017-08-27 05:15:24 -04:00
linux_i386.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
linux_random.zig Use /dev/urandom and sysctl(RANDOM_UUID) on Linux. 2018-02-04 18:58:36 +01:00
linux_test.zig add epoll and timerfd support on linux 2017-11-10 15:12:46 -08:00
linux_x86_64.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
linux.zig Use /dev/urandom and sysctl(RANDOM_UUID) on Linux. 2018-02-04 18:58:36 +01:00
path.zig syntax: functions require return type. remove -> 2018-01-25 04:10:11 -05:00
zen.zig std: fix fn return syntax for zen os 2018-01-29 10:57:27 -05:00