From owner-cvs-all Tue Sep 15 19:04:37 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05050 for cvs-all-outgoing; Tue, 15 Sep 1998 19:04:37 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05022; Tue, 15 Sep 1998 19:04:25 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA10572; Tue, 15 Sep 1998 19:04:07 -0700 (PDT) Date: Tue, 15 Sep 1998 19:04:07 -0700 (PDT) Message-Id: <199809160204.TAA10572@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern imgact_elf.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/09/15 19:04:07 PDT Modified files: sys/kern imgact_elf.c Log: Restore the core-dumping of all writable segments for ELF executables, minus the NULL pointer dereference in rev. 1.33. Also simplify things somewhat by eliminating one traversal of the VM map entries. Finally, eliminate calls to vm_map_{un,}lock_read() which aren't needed here. I originally took them from procfs_map.c, but here we know we are dealing only with the map of the current process. Revision Changes Path 1.35 +188 -80 src/sys/kern/imgact_elf.c