DragonFlyBSD Kernel Audit
DF-0922 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/vfs/procfs/procfs_map.c b/sys/vfs/procfs/procfs_map.c
--- a/sys/vfs/procfs/procfs_map.c
+++ b/sys/vfs/procfs/procfs_map.c
@@ -207,13 +207,13 @@
 		 */
 		error = sbuf_printf(sb,
 #if LONG_BIT == 64
-			  "0x%016lx 0x%016lx %d %d %p %s%s%s %d %d "
+			  "0x%016lx 0x%016lx %d %d 0x0 %s%s%s %d %d "
 #else
-			  "0x%08lx 0x%08lx %d %d %p %s%s%s %d %d "
+			  "0x%08lx 0x%08lx %d %d 0x0 %s%s%s %d %d "
 #endif
 			  "0x%04x %s%s %s %s\n",
 			(u_long)e_start, (u_long)e_end,
-			resident, -1, (ba ? ba->object : NULL),
+			resident, -1,
 			(e_prot & VM_PROT_READ) ? "r" : "-",
 			(e_prot & VM_PROT_WRITE) ? "w" : "-",
 			(e_prot & VM_PROT_EXECUTE) ? "x" : "-",