-/* $OpenBSD: exec_elf.c,v 1.3 1996/03/03 17:19:37 niklas Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.4 1996/04/18 15:58:33 niklas Exp $ */
/* $NetBSD: exec_elf.c,v 1.6 1996/02/09 18:59:18 christos Exp $ */
/*
} else
epp->ep_entry = eh->e_entry;
+#ifdef COMPAT_SVR4_MAP_PAGE_ZERO
+ /* Dell SVR4 maps page zero, yeuch! */
+ NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_readvn, NBPG, 0, epp->ep_vp, 0,
+ VM_PROT_READ);
+#endif
+
free((char *) ph, M_TEMP);
epp->ep_vp->v_flag |= VTEXT;
return exec_aout_setup_stack(p, epp);