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
Reviewer
cem
Differential Revision
D20218: Do not return NULL from the Intel hw PRNG ifunc resolver.
Parents
rS347422: Allow dcons(4) to be unloaded when loaded as a module.
Branches
Unknown
Tags
Unknown