mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-11 12:56:21 +03:00
ztest wants to force all kernel random calls to use the pseudo-random generator (/dev/urandom), to avoid depleting the system entropy pool just for testing. Up until the previous commit, it did this by switching the path that the libzpool (now libspl) random API would use to get random data from; that is, it took advantage of an implementation detail. Now that that hole is closed to it, we need another method. This commit introduces that; a simple API call to enable/disable "force pseudo" mode. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861 |
||
|---|---|---|
| .. | ||
| os | ||
| rpc | ||
| sys | ||
| assert.h | ||
| atomic.h | ||
| libgen.h | ||
| libshare.h | ||
| libspl.h | ||
| Makefile.am | ||
| statcommon.h | ||
| stdlib.h | ||
| string.h | ||
| umem.h | ||
| unistd.h | ||
| zone.h | ||