DF-2975 / build.log
# Kernel build with fix.diff applied (guest /usr/src, DF 6.5-DEVELOPMENT) # # NOTE: the full ~25-minute build transcript lived in the guest's /tmp/kbuild.log # which DragonFly cleared at the fix-validation reboot. What is preserved below # is (a) the exact commands, (b) the decisive compile lines observed live while # polling the build, (c) BUILD_DONE_OK, and (d) post-hoc object-file proof that # the patched translation units were compiled and linked into the running kernel. $ cd /usr/src && patch < /tmp/fix.diff Patching file sys/kern/uipc_accf.c using Plan A... Hunk #1..#4 succeeded Patching file sys/kern/uipc_socket.c using Plan A... Hunk #1..#3 succeeded Patching file sys/sys/socketvar.h using Plan A... Hunk #1..#2 succeeded PATCHED $ cd /usr/src && make nativekernel KERNCONF=X86_64_GENERIC && make installkernel KERNCONF=X86_64_GENERIC [... 838+ cc lines ...] cc -c -O2 -pipe -Wall -Wredundant-decls ... -Werror /usr/src/sys/kern/uipc_accf.c -Werror cc -c -O2 -pipe -Wall -Wredundant-decls ... -Werror /usr/src/sys/kern/uipc_socket.c -Werror [... modules: u4b, acpica, dm, amdgpu, i915 ...] BUILD_DONE_OK # post-hoc proof the patched objects are in the RUNNING kernel (#1): -rw-r--r-- 1 root wheel 152552 Sep 4 12:35 /usr/obj/usr/src/sys/X86_64_GENERIC/uipc_accf.o -rw-r--r-- 1 root wheel 333376 Sep 4 12:35 /usr/obj/usr/src/sys/X86_64_GENERIC/uipc_socket.o -r-xr-x-x 1 root wheel 119354944 Sep 4 12:53 /boot/kernel/kernel $ uname -a DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #1: Fri Sep 4 12:39:28 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 # PoC binaries: $ gcc -O2 -pipe -o srv2975 srv.c && gcc -O2 -pipe -o cli cli.c (exit 0)