freebsd-skq/libexec
Matthew Dillon fa7dd9c5bc Change the way ELF coredumps are handled. Instead of unconditionally
skipping read-only pages, which can result in valuable non-text-related
data not getting dumped, the ELF loader and the dynamic loader now mark
read-only text pages NOCORE and the coredump code only checks (primarily) for
complete inaccessibility of the page or NOCORE being set.

Certain applications which map large amounts of read-only data will
produce much larger cores.  A new sysctl has been added,
debug.elf_legacy_coredump, which will revert to the old behavior.

This commit represents collaborative work by all parties involved.
The PR contains a program demonstrating the problem.

PR:		kern/45994
Submitted by:	"Peter Edwards" <pmedwards@eircom.net>, Archie Cobbs <archie@dellroad.org>
Reviewed by:	jdp, dillon
MFC after:	7 days
2002-12-16 19:24:43 +00:00
..
atrun
bootpd Don't call report() without a format string. 2002-10-13 11:27:36 +00:00
comsat Bump document date for the 'beep only' change. 2002-08-16 03:08:25 +00:00
fingerd Mark the logerr() function __printflike(). 2002-10-13 11:26:37 +00:00
ftpd mdoc(7) police: 2002-11-25 15:20:06 +00:00
getNAME
getty mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
lukemftpd We don't use libpam, libopie, or libmd. 2002-11-12 07:41:59 +00:00
mail.local
makekey The .Nm utility 2002-07-06 19:19:48 +00:00
mknetid o Fix usage(). 2002-11-12 14:15:59 +00:00
named-xfer
pppoed The .Nm utility 2002-07-06 19:19:48 +00:00
rbootd The .Nm utility 2002-07-06 19:19:48 +00:00
revnetgroup Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
rexecd The .Nm utility 2002-07-06 19:19:48 +00:00
rlogind The .Nm utility 2002-07-06 19:19:48 +00:00
rpc.rquotad Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rpc.rstatd Rename local function havedisk() to haveadisk() to avoid conflict a 2002-10-02 18:29:50 +00:00
rpc.rusersd Port to TI/RPC and/or IPV6. 2002-07-15 18:51:57 +00:00
rpc.rwalld Port to TI/RPC and/or IPV6. 2002-07-15 18:51:57 +00:00
rpc.sprayd Port to TI/RPC and/or IPV6. 2002-07-15 18:51:57 +00:00
rshd The .Nm utility 2002-07-06 19:19:48 +00:00
rtld-aout Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rtld-elf Change the way ELF coredumps are handled. Instead of unconditionally 2002-12-16 19:24:43 +00:00
save-entropy
smrsh
talkd The .Nm utility 2002-07-06 19:19:48 +00:00
tcpd
telnetd Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
tftpd The .Nm utility 2002-07-06 19:19:48 +00:00
xtend The .Nm utility 2002-07-06 19:19:48 +00:00
ypxfr Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
Makefile [DAIVD O'BRIEN's OPINION] 2002-11-12 17:31:12 +00:00
Makefile.inc