Skip to content

util/rand_xor: extend urandom path to all non-Windows platforms

Eric Engestrom requested to merge eric/mesa:urandom-nonlinux into master

Any system that provides /dev/urandom should be allowed to try to use it.

While at it, fallback to time-based instead of fixed seed when /dev/urandom is unavailable and caller asked for randomized_seed.

Suggested-by: @linkmauve (in MR !2026 (merged))

Merge request reports