diff options
Diffstat (limited to 'trans/random.c')
-rw-r--r-- | trans/random.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trans/random.c b/trans/random.c index ae04e14f..e85bf65e 100644 --- a/trans/random.c +++ b/trans/random.c @@ -46,6 +46,9 @@ char *trivfs_server_name = "random"; +/* Referred by glibc to avoid using /dev/random for malloc() initialization */ +char *__trivfs_server_name = "random"; + /* Entropy pool. We use one of the SHAKE algorithms from the Keccak family. Being a sponge construction, it allows the extraction of arbitrary amounts of pseudorandom data. */ |