Expand description
Random number generation syscalls: getrandom
Fills request buffers from the kernel entropy pool, which collects entropy from interrupt noise (keyboard, timer, storage IRQs) and RDRAND. Falls back to RDRAND + jitter if the pool is not yet seeded during early boot.
Constantsยง
- GRND_
FLAGS_ ๐MASK - Valid flags mask.
- GRND_
NONBLOCK ๐ - GRND_NONBLOCK: return EAGAIN if entropy pool is not yet initialised.
- GRND_
RANDOM ๐ - GRND_RANDOM: use /dev/random quality (same pool, no distinction in this impl).
Functionsยง
- sys_
getrandom - SYS_GETRANDOM (601): Fill a buffer with random bytes.