<drochner@zel024.zel.kfa-juelich.de> in NetBSD PR 3252
-/* $OpenBSD: vm_unix.c,v 1.2 1996/03/03 17:45:39 niklas Exp $ */
+/* $OpenBSD: vm_unix.c,v 1.3 1997/03/29 21:17:17 tholo Exp $ */
/* $NetBSD: vm_unix.c,v 1.19 1996/02/10 00:08:14 christos Exp $ */
/*
continue;
}
+ if (entry->object.vm_object &&
+ entry->object.vm_object->pager &&
+ entry->object.vm_object->pager->pg_type == PG_DEVICE) {
+#ifdef DEBUG
+ printf("vm_coredump: skipping dev @ %lx\n", (unsigned long)entry->start);
+#endif
+ continue;
+ }
+
if (!(entry->protection & VM_PROT_WRITE))
continue;