mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-02 11:04:36 +02:00
This makes for one Gnulib module less, and at runtime there’s typically just one getrandom syscall instead of several for large nonces. * gl/lib/randread.c: Include sys/random.h instead of sys/time.h and unistd.h. (get_nonce): Use getrandom, not getentropy. * gl/modules/randread (Depends-on): Depend on getrandom, not getentropy. * src/shred.c (main): * src/shuf.c (main): * src/sort.c (random_md5_state_init): Say "getrandom" rather than "getentropy" in (unlikely) diagnostic.
36 lines
378 B
Plaintext
36 lines
378 B
Plaintext
Description:
|
|
Generate buffers of random data.
|
|
|
|
Files:
|
|
lib/rand-isaac.c
|
|
lib/rand-isaac.h
|
|
lib/randread.c
|
|
lib/randread.h
|
|
|
|
Depends-on:
|
|
error
|
|
exitfail
|
|
inline
|
|
fopen-safer
|
|
getrandom
|
|
quote
|
|
stdalign
|
|
stdbool
|
|
stdint
|
|
unlocked-io
|
|
xalloc
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += randread.c randread.h rand-isaac.c rand-isaac.h
|
|
|
|
Include:
|
|
"randread.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Paul Eggert
|