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.

Reported and tested by: ler
Reviewed by: cem, kib
Approved by: so (delphij)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20218

Details

Provenance
markjAuthored on May 10 2019, 4:28 AM
Parents
rG0eba88cf916d: Allow dcons(4) to be unloaded when loaded as a module.
Branches
Unknown
Tags
Unknown