Solaris too (even Solaris 9) has /dev/random and /dev/urandom. The
manpage credits Linux:
An implementation of the /dev/random and /dev/urandom
kernel-based random number generator first appeared in Linux
1.3.30.
2020-05-31 Bruno Haible <[email protected]>
crypto/gc-random: Fix list of crypto devices for Solaris.
* m4/gc-random.m4 (gl_GC_RANDOM): Don't special-case Solaris.
diff --git a/m4/gc-random.m4 b/m4/gc-random.m4
index 15751cb..a7812a3 100644
--- a/m4/gc-random.m4
+++ b/m4/gc-random.m4
@@ -1,4 +1,4 @@
-# gc-random.m4 serial 8
+# gc-random.m4 serial 9
dnl Copyright (C) 2005-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_GC_RANDOM],
NAME_OF_NONCE_DEVICE="/dev/urandom"
;;
- *solaris* | *irix* | *dec-osf* )
+ *irix* | *dec-osf* )
NAME_OF_RANDOM_DEVICE="/dev/random"
NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/random"
NAME_OF_NONCE_DEVICE="/dev/random"