DragonFlyBSD Kernel Audit
DF-2755 / build.log
← back to finding ↓ download raw
# PoC build (guest, unprivileged, stock gcc):
#   $ cc -O2 -pthread -o df2755 df2755.c
#   BUILD_RC=0   (only -Wcomment / unused warnings on the first draft;
#                 final source builds clean)
#
# Fixed-kernel build (guest, root):
#   $ cd /usr/src && patch -p1 < /tmp/fix.diff
#     Patching file sys/kern/vfs_vnops.c    using Plan A... Hunk #1 succeeded at 1045.
#     Patching file sys/vfs/devfs/devfs_vnops.c ... Hunk #1 succeeded at 1150.
#                                               ... Hunk #2 succeeded at 1607.
#     Patching file sys/kern/kern_descrip.c ... Hunk #1 succeeded at 2029.
#     Patching file sys/kern/tty.c          ... Hunk #1 succeeded at 362.
#                                               ... Hunk #2 succeeded at 380.
#   $ make -j6 nativekernel KERNCONF=X86_64_GENERIC
#   --------------------------------------------------------------
#   >>> Kernel build for X86_64_GENERIC completed on Mon Aug 31 20:57:50 UTC 2026
#   --------------------------------------------------------------
#   BUILD_RC=0
#   $ make installkernel KERNCONF=X86_64_GENERIC
#   >>> Kernel install for X86_64_GENERIC completed on Mon Aug 31 20:59:02 UTC 2026
#   IK_RC=0
#   (rebooted into: DragonFly 6.5-DEVELOPMENT #1: Mon Aug 31 20:54:26 UTC 2026)