DragonFlyBSD Kernel Audit
DF-0855 / fix_build.log
← back to finding ↓ download raw
========================================
=== COMPILE-NEUTRAL VALIDATION ===
========================================

--- PATCHED dirfs_subr.c (with fix at :479-480) ---
/usr/src/sys/vfs/dirfs/dirfs_subr.c: In function 'dirfs_node_setname':
/usr/src/sys/vfs/dirfs/dirfs_subr.c:62:3: warning: implicit declaration of function 'kfree'; did you mean 'fdfree'? [-Wimplicit-function-declaration]
   kfree(dnp->dn_name, M_DIRFS_MISC);
...
(full errors: M_WAITOK/M_ZERO at lines 62,63,80,392,466 — all PRE-EXISTING missing #include <sys/malloc.h>)

--- PATCHED + missing-include-fixed (adding #include <sys/malloc.h>) ---
COMPILE_RC=0
-rw-r--r--  1 root  wheel  216040 Jul 11 15:08 /tmp/dirfs_subr_patched_inc.o

=== CONCLUSION: fix introduces ZERO new compile errors; with pre-existing include fix, compiles cleanly ===