DF-0220 / env.txt
================================================================================
DF-0220 verification environment
================================================================================
Guest: DragonFlyBSD master DEV (KVM, single-tenant, vm.sh-managed)
Snapshot reverted between boots via: dfbsd-qemu/vm.sh reset
uname -a:
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly v6.5.0.1712.g89e6a-DEVELOPMENT
#1: Mon Jun 29 14:18:01 UTC 2026
root@ephemeral-5c2002c44b6c:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
cc --version:
cc 8.3 [DragonFly] Release/2019-02-22
QEMU devices (no virtio-rng in this VM):
-enable-kvm -m 2048 -smp 2
-drive disk.qcow2 (virtio-blk)
-netdev user,hostfwd 5522->22 (virtio-net)
dmesg | grep -iE 'random|entropy|csprng|rand|seed':
rdrand0: No RdRand support. <- no HW RNG entropy source on this guest
sysctl (post-boot):
kern.rand_mode: mixed <- default (rand_mode==2: csprng XOR IBAA)
kern.boottime: { sec = ..., nsec = ... }
Random-source constants (sys/sys/random.h, sys/sys/ibaa.h):
RAND_SRC_TIMING = 0x0002
RAND_SRC_THREAD2 = 0x000c
RAND_SRC_MASK = 0x00FF
SIZE = 256 (so rand_initialize timing loop = 128 csprng feeds)
MIN_POOL_SIZE = 96 (sys/kern/subr_csprng.c:54)
PoC user: maxx (uid 1001, not in wheel). Root shell forced via vm.sh run_root.
Console: comconsole baked into clean-install baseline; panics (none here) land
in dfbsd-qemu/boot.log.