⬢ DragonFlyBSD Kernel Audit
DF-3223 / fixrun.log
← back to finding ↓ download raw
# DF-3223 fix validation (kernel #2 Sep  8 18:43:09 = stock + fix.diff,
# built in-guest; image rebuilt + reforged from scratch, same procedure as
# the 3 baseline runs)
$ ./trigger_prune /mnt
trigger: HAMMERIOC_PRUNE (PRUNE_ALL, full range) on /mnt uid=0
ioctl returned 0 errno=0 (Undefined error: 0)
scanrecords=6 rawrecords=1 dirrecords=0 bytes=128 oldest_tid=0000000000000000
rc=0
---
0                       <- grep -c "Fatal trap" /var/log/messages
f1                      <- ls /mnt: filesystem intact
hello2                  <- echo hello2 > /mnt/f2 && cat /mnt/f2
UMOUNT_OK               <- clean unmount after the prune
$ dfbsd-qemu/vm.sh status
up

# Baseline: fatal trap 12 @ VA 0x48 (hammer_ioc_prune+0x37f), guest dead, 3/3.
# Patched:  ioctl completes over the whole forged filesystem (6 records
#           scanned, 1 legitimately-deleted record destroyed as part of
#           normal PRUNE_ALL work, 128 bytes freed), zero kernel traps,
#           filesystem read/write/umount verified, guest stays up.