⬢ DragonFlyBSD Kernel Audit
DF-5836 / run.fixed.log
← back to finding ↓ download raw
=== PATCHED KERNEL (fix.diff applied, nativekernel rebuild), same crafted image /root/h2c.img ===
MOUNTED
=== BEFORE ===
inum=1024 mode=-rw-r--r-- links=1 size=20 /mnt/h2/origfile
hello-original-file
=== trigger: mkdir boomdir ===
mkdir: /mnt/h2/boomdir: File exists
mkdir-rc=1
=== AFTER ===
inum=1024 mode=-rw-r--r-- links=1 size=20 /mnt/h2/origfile
hello-original-file
cat-rc=0
total 6
drwxr-xr-x 1 root  wheel  0 Oct 13 20:50 .
drwxr-xr-x 1 root  wheel  0 Oct 13 21:31 ..
-rrw-r--r-- 1 root  wheel   20 Oct 13 20:50 origfile
drwxr-xr-x 1 root  wheel     0 Oct 13 20:50 subdir
=== second create (touch) to confirm consistent refusal ===
touch: /mnt/h2/secondfile: File exists
touch-rc=1
dmesg: hammer2: duplicate inode number 1024 detected, create refused
dmesg: hammer2: duplicate inode number 1025 detected, create refused
=== sync + umount survive ===
umount-rc=0