syscalls: Add 'add-to-entropy-count'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 5 Oct 2019 19:54:31 +0000 (21:54 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 5 Oct 2019 20:05:02 +0000 (22:05 +0200)
commit5e5f7167943b408ae55736a44908a82056c87780
treeb62ed56427ad1274b05edc2a4d995263034b62a9
parentaace6f6dba3a0e7dd46146f5c7947b11e1076e5d
syscalls: Add 'add-to-entropy-count'.

* guix/build/syscalls.scm (RNDADDTOENTCNT): New variable.
(add-to-entropy-count): New procedure.
* tests/syscalls.scm ("add-to-entropy-count"): New test.
guix/build/syscalls.scm
tests/syscalls.scm