Module Name: src Committed By: riastradh Date: Tue Mar 11 14:30:28 UTC 2025
Modified Files: src/lib/libc/gen: arc4random.c src/sys/kern: kern_entropy.c src/sys/sys: sysctl.h Log Message: Assign static MIB numbers for kern.entropy.epoch. This sidesteps any need for dynamically sized memory in userland to resolve sysctl names to read it out, or for a new syscall interface to sysctl resolution by name. It would really be better to expose this through a page shared with userland, so querying it doesn't cost a syscall, but this will serve for now. PR lib/59148: arc4random calls malloc so it can't be used in an ELF constructor To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/lib/libc/gen/arc4random.c cvs rdiff -u -r1.72 -r1.73 src/sys/kern/kern_entropy.c cvs rdiff -u -r1.239 -r1.240 src/sys/sys/sysctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.