⬢ DragonFlyBSD Kernel Audit
DF-2489 / build.baseline.log
← back to finding ↓ download raw
DF-2489 rig build, BASELINE (stock source, stock kernel)
=========================================================
Guest: DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026 (stock)
Source: /usr/src/sys/dev/disk/nata/ata-disk.c sha256
        8773a2dfc4cfc372b1d2be6c2775fd72e0445e56cdc974615fb94654f6b78de1
        (== audited sys/ tree; checker lines below from the final
         stock-source build, see also build.sh)

checker: guest ata-disk.c sha256=8773a2dfc4cfc372b1d2be6c2775fd72e0445e56cdc974615fb94654f6b78de1
checker: audited sys/     sha256=8773a2dfc4cfc372b1d2be6c2775fd72e0445e56cdc974615fb94654f6b78de1

make clean; make -m /usr/src/share/mk   (in /root/dfrig2489)
[machine/sys forwarding headers created, then:]
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/dev/disk/nata/ata_if.m
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/kern/bus_if.m
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/kern/device_if.m
cc  -O2 -pipe -I/usr/src/sys/dev/disk/nata  -I/usr/obj/usr/src/sys/X86_64_GENERIC  -I/root/dfrig2489 -I/sys -Wall  -Wno-error=unused-variable -Wno-error=unused-function  -Wno-error=array-bounds  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Wcast-qual  -Wold-style-definition -Wmissing-include-dirs  -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc -I/usr/src/sys/dev/disk/nata -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/root/dfrig2489 -I/sys -I. -Idragonfly -I/root/dfrig2489/forwarder_x86_64/include -Idragonfly/../include -I/usr/include  -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline   -c dfrig2489.c
In file included from dfrig2489.c:140:
/usr/src/sys/dev/disk/nata/ata-disk.c:572:17: warning: 'ad_driver' defined but not used [-Wunused-variable]
 static driver_t ad_driver = {
                 ^~~~~~~~~
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv   -r -Wl,-d -o dfrig2489.ko dfrig2489.o
-rw-r--r-- 1 root wheel 37664 Oct 19 17:47 dfrig2489.ko
kernel own ad_attach = 0xffffffff80328d30
installed: /boot/kernel/dfrig2489.ko + loader.conf dfrig2489_load=YES

(note: the ad_driver warning is downgraded non-fatal via
 -Wno-error=unused-variable: the driver_t is unreferenced because the
 production DRIVER_MODULE registration is neutralized in the rig; the
 functions under test keep their production names/bodies.
 Session capture of the final stock-source build; the identical
 full-output stock build of the first revision is preserved in the
 transcript evidence of the pack.)