HomeFreeBSD

Avoid returning a NULL pointer from the Intel hw PRNG ifunc resolver.

Description

Avoid returning a NULL pointer from the Intel hw PRNG ifunc resolver.

DTrace expects kernel function symbols of a non-zero size to have an
implementation, which is a reasonable invariant to preserve.

(cherry picked from commit b870199522666a66e378e90ca3dbef39c30f12c6)

Details

Provenance
markjAuthored on May 10 2019, 4:28 AM
obrienCommitted on Feb 21 2022, 5:56 AM
Parents
rGc91dd7ea7cd7: random(4): Don't complain noisily when an entropy source is slow
Branches
Unknown
Tags
Unknown